Wide area positioning system

ABSTRACT

Systems and methods for estimating a height of a mobile device are described. A reference pressure estimate is generated using atmospheric data from one or more reference locations. Various approaches for determining the reference pressure estimate are described. The reference pressure estimate is used, along with a pressure measurement at a position of a mobile device, to estimate the height of the mobile device.

RELATED APPLICATIONS

This application is a continuation in part of U.S. patent application Ser. No. 13/296,067, filed Nov. 14, 2011, entitled WIDE AREA POSITIONING SYSTEM, the content of which is hereby incorporated by reference herein in its entirety for all purposes

TECHNICAL FIELD

The disclosure herein relates generally to positioning systems. In particular, this disclosure relates to a wide area positioning system.

BACKGROUND

Positioning systems like Global Positioning System (GPS) have been in use for many years. In poor signal conditions, however, these conventional positioning system can have degraded performance.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a wide area positioning system, under an embodiment.

FIG. 2 is a block diagram of a synchronized beacon, under an embodiment.

FIG. 3 is a block diagram of a positioning system using a repeater configuration, under an embodiment.

FIG. 4 is a block diagram of a positioning system using a repeater configuration, under an alternative embodiment.

FIG. 5 shows tower synchronization, under an embodiment.

FIG. 6 is a block diagram of a GPS disciplined PPS generator, under an embodiment.

FIG. 7 is a GPS disciplined oscillator, under an embodiment.

FIG. 8 shows a signal diagram for counting the time difference between the PPS and the signal that enables the analog sections of the transmitter to transmit the data, under an embodiment.

FIG. 9 is a block diagram of the differential WAPS system, under an embodiment.

FIG. 10 shows common view time transfer, under an embodiment.

FIG. 11 shows the two-way time transfer, under an embodiment.

FIG. 12 is a block diagram of a receiver unit, under an embodiment.

FIG. 13 is a block diagram of an RF module, under an embodiment.

FIG. 14 shows signal upconversion and/or downconversion, under an embodiment.

FIG. 15 is a block diagram of a receiver system having multiple receive chains in which one of the receive chains can be used temporarily for receiving and processing WAPS signals, under an embodiment.

FIG. 16 is a block diagram showing clock sharing in a positioning system, under an embodiment.

FIG. 17 is a block diagram of assistance transfer from WAPS to GNSS receiver, under an embodiment.

FIG. 18 is a block diagram showing transfer of aiding information from the GNSS receiver to the WAPS receiver, under an embodiment.

FIG. 19 is an example configuration in which WAPS assistance information is provided from a WAPS server, under an embodiment.

FIG. 20 is a flow diagram for estimating an earliest arriving path in h[m], under an embodiment.

FIG. 21 is a flow diagram for estimating reference correlation function, under an embodiment.

FIG. 22 is a flow diagram for estimating noise sub-space, under an embodiment.

FIG. 23 is a flow diagram for estimating noise sub-space, under an alternative embodiment.

FIG. 24 is a flow diagram for estimating noise sub-space, under another alternative embodiment.

FIG. 25 is a flow diagram for estimating noise sub-space, under yet another alternative embodiment.

FIG. 26 is a flow diagram for estimating noise sub-space, under still another alternative embodiment.

FIG. 27 is a block diagram of a reference elevation pressure system, under an embodiment.

FIG. 28 is a block diagram of the WAPS integrating the reference elevation pressure system, under an embodiment.

FIG. 29 is a block diagram of hybrid position estimation using range measurements from various systems, under an embodiment.

FIG. 30 is a block diagram of hybrid position estimation using position estimates from various systems, under an embodiment.

FIG. 31 is a block diagram of hybrid position estimation using a combination of range and position estimates from various systems, under an embodiment.

FIG. 32 is a flow diagram for determining a hybrid position solution in which position/velocity estimates from the WAPS/GNSS systems are fed back to help calibrate the drifting bias of the sensors at times when the quality of the GNSS/WAPS position and/or velocity estimates are good, under an embodiment.

FIG. 33 is a flow diagram for determining a hybrid position solution in which sensor parameters (such as bias, scale and drift) are estimated as part of the position/velocity computation in the GNSS and/or WAPS units without need for explicit feedback, under an embodiment.

FIG. 34 is a flow diagram for determining a hybrid position solution in which sensor calibration is separated from the individual position computation units, under an embodiment.

FIG. 35 is a flow diagram for determining a hybrid position solution in which the sensor parameter estimation is done as part of the state of the individual position computation units, under an embodiment.

FIG. 36 shows the exchange of information between the WAPS and other systems, under an embodiment.

FIG. 37 is a block diagram showing exchange of location, frequency and time estimates between FM receiver and WAPS receiver, under an embodiment.

FIG. 38 is a block diagram showing exchange of location, time and frequency estimates between WLAN/BT transceiver and WAPS Receiver, under an embodiment.

FIG. 39 is a block diagram showing exchange of location, time and frequency estimates between cellular transceiver and WAPS receiver, under an embodiment.

FIG. 40 shows a parallel complex correlator architecture, under an embodiment.

FIG. 41 shows a 32-bit shift register implementation derived from two 16-bit shift register primitives with parallel random access read capabilities, under an embodiment.

FIG. 42 shows shift operation and readout operation rate, under an embodiment.

FIG. 43 shows a structure for an adder tree that implements a 1023×n-bit adder, under an embodiment.

FIG. 44 is a block diagram of session key setup, under an embodiment.

FIG. 45 is a flow diagram for encryption, under an embodiment.

FIG. 46 is a block diagram of the security architecture for encryption, under an alternative embodiment.

DETAILED DESCRIPTION

Systems and methods are described for determining position of a receiver. The positioning system of an embodiment comprises a transmitter network including transmitters that broadcast positioning signals. The positioning system comprises a remote receiver that acquires and tracks the positioning signals and/or satellite signals. The satellite signals are signals of a satellite-based positioning system. A first mode of the remote receiver uses terminal-based positioning in which the remote receiver computes a position using the positioning signals and/or the satellite signals. The positioning system comprises a server coupled to the remote receiver. A second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from the positioning signals and/or satellite signals, where the remote receiver receives and transfers to the server the positioning signals and/or satellite signals.

A method of determining position of an embodiment comprises receiving at a remote receiver at least one of positioning signals and satellite signals. The positioning signals are received from a transmitter network comprising a plurality of transmitters. The satellite signals are received from a satellite-based positioning system. The method comprises determining a position of the remote receiver using one of terminal-based positioning and network based positioning. The terminal-based positioning comprises computing a position of the remote receiver at the remote receiver using at least one of the positioning signals and the satellite signals. The network-based positioning comprises computing a position of the remote receiver at a remote server using at least one of the positioning signals and the satellite signals.

In the following description, numerous specific details are introduced to provide a thorough understanding of, and enabling description for, the systems and methods described. One skilled in the relevant art, however, will recognize that these embodiments can be practiced without one or more of the specific details, or with other components, systems, etc. In other instances, well-known structures or operations are not shown, or are not described in detail, to avoid obscuring aspects of the disclosed embodiments.

FIG. 1 is a block diagram of a positioning system, under an embodiment. The positioning system, also referred to herein as the wide area positioning system (WAPS), or “system”, includes a network of synchronized beacons, receiver units that acquire and track the beacons and/or Global Positioning System (GPS) satellites (and optionally have a location computation engine), and a server that comprises an index of the towers, a billing interface, a proprietary encryption algorithm (and optionally a location computation engine). The system operates in the licensed/unlicensed bands of operation and transmits a proprietary waveform for the purposes of location and navigation purposes. The WAPS system can be used in conjunction with other positioning systems for better location solution or the WAPS system can be used to aid other positioning systems. In the context of this document, a positioning system is one that localizes one or more of latitude, longitude and altitude coordinates.

In this document, whenever the ‘GPS’ is referred to, it is done so in the broader sense of GNSS (Global Navigation Satellite System) which may include other existing satellite positioning systems such as Glonass as well as future positioning systems such as Galileo and Compass/Beidou.

FIG. 2 is a block diagram of a synchronized beacon, under an embodiment. The synchronized beacons of an embodiment, also referred to herein as beacons, form a CDMA network, and each beacon transmits a Pseudo Random Number (PRN) sequence with good cross-correlation properties such as a Gold Code sequence with a data stream of embedded assistance data. Alternatively, the sequences from each beacon transmitter can be staggered in time into separate slots in a TDMA format.

In a terrestrial positioning system, one of the main challenges to overcome is the near-far problem wherein, at the receiver, a far-away transmitter will get jammed by a nearby transmitter. To address this issue, beacons of an embodiment use a combination of CDMA and TDMA techniques in which local transmitters can use separate slots (TDMA) (and optionally different codes (CDMA)) to alleviate the near-far problem. Transmitters further afield would be allowed to use the same TDMA slots while using different CDMA codes. This allows wide-area scalability of the system. The TDMA slotting can be deterministic for guaranteed near-far performance or randomized to provide good average near-far performance. The carrier signal can also be offset by some number of hertz (for example, a fraction of the Gold code repeat frequency) to improve cross-correlation performance of the codes to address any ‘near-far’ issues. When two towers use the same TDMA slot but different codes, the cross-correlation in the receiver can be further rejected by using interference cancellation of the stronger signal before detecting the weaker signal.

Another important parameter in the TDMA system is the TDMA slotting period (also called a TDMA frame). Specifically, in the WAPS system, the TDMA frame duration is time period between two consecutive slots of the same transmitter. The TDMA frame duration is determined by the product of the number of transmitter slots required for positioning in the coverage area and the TDMA slot duration. The TDMA slot duration is determined by the sensitivity requirements, though sensitivity is not necessarily limited by a single TDMA slot. One example configuration may use 1 second as the TDMA frame duration and 100 ms as the TDMA slot duration.

Additionally, the beacons of an embodiment can use a preamble including assistance data or information can be used for channel estimation and Forward Error Detection and/or Correction to help make the data robust. The assistance data of an embodiment includes, but is not limited to, one or more of the following: precise system time at either the rising or falling edge of a pulse of the waveform; Geocode data (Latitude, Longitude and Altitude) of the towers; geocode information about adjacent towers and index of the sequence used by various transmitters in the area; clock timing corrections for the transmitter (optional) and neighboring transmitters; local atmospheric corrections (optional); relationship of WAPS timing to GNSS time (optional); indication of urban, semi-urban, rural environment to aid the receiver in pseudorange resolution (optional); and, offset from base index of the PN sequence or the index to the Gold code sequence. In the transmit data frame that is broadcast, a field may be included that includes information to disable a single or a set of receivers for safety and/or license management reasons.

The transmit waveform timing of the transmissions from the different beacons and towers of an embodiment are synchronized to a common timing reference. Alternatively, the timing difference between the transmissions from different towers should be known and transmitted. The assistance data is repeated at an interval determined by the number and size of the data blocks, with the exception of the timing message which will be incremented at regular intervals. The assistance data maybe encrypted using a proprietary encryption algorithm, as described in detail herein. The spreading code may also be encrypted for additional security. The signal is up-converted and broadcast at the predefined frequency. The end-to-end delay in the transmitter is accurately calibrated to ensure that the differential delay between the beacons is less than approximately 3 nanoseconds. Using a differential WAPS receiver at a surveyed location listening to a set of transmitters, relative clock corrections for transmitters in that set can be found.

The tower arrangement of an embodiment is optimized for coverage and location accuracy. The deployment of the towers will be arranged in such a way as to receive signals from 3 or more towers in most of the locations within the network and at the edge of the network, such that the geometric dilution of precision (GDOP) in each of these locations is less than a predetermined threshold based on the accuracy requirement. Software programs that do RF planning studies will be augmented to include the analysis for GDOP in and around the network. GDOP is a function of receiver position and transmitter positions. One method of incorporating the GDOP in the network planning is to set up an optimization as follows. Function to be minimized is volume integral of the square of GDOP over the coverage volume. The volume integration is with respect to the (x, y, z) coordinates of the receiver position. The minimization is with respect to the n transmitter position coordinates (x₁, y₁, z₁), (x₂, y₂, z₂), . . . (x_(n), y_(n), z_(n)) in a given coverage area subject to the constraints that they are in the coverage volume: x_(min)<x<x_(max), y_(min)<y<y_(max), z_(min)<z<z_(max) for i=1, . . . , n with x_(min), y_(min) and z_(min) being the lower limits and with x_(max), y_(max) and z_(max) being the upper limits of the coverage volume. The function to be minimized can be written as

${f\left( {x_{i},y_{i},{z_{i};{i = 1}},2,{\ldots\mspace{14mu} n}} \right)} = {\underset{{x \in {({{xl},{xu}})}},{y \in {({{yl},{yu}})}},{z \in {({{zl},{zu}})}}}{\int{\int\int}}{{GDOP}^{2}\left( {x,y,z,x_{i},y_{i},{z_{i};{i = 1}},2,{\ldots\mspace{14mu} n}} \right)}}$

Additionally, the function to be minimized may be weighted according to the importance (i.e. performance quality required) of the coverage region R_(j).

${f\left( {x_{i},y_{i},{z_{i};{i = 1}},2,{\ldots\mspace{14mu} n}} \right)} = {\sum\limits_{j}{W_{j}\underset{x,y,z,{\in R_{j}}}{\int{\int\int}}{{GDOP}^{2}\left( {x,y,z,x_{i},y_{i},{z_{i};{i = 1}},2,{\ldots\mspace{14mu} n}} \right)}}}$

An additional constraint on the tower coordinate locations can be based on location of already available towers in the given area. The coordinatization of all coordinates can typically be done in local level coordinate system with average east as positive x, average north as positive y and average vertical up as positive z. The software which solves the above constrained minimization problem will output optimized transmitter positions (x₁, y₁, z₁), (x₂, y₂, z₂), . . . (x_(n), y_(n), z_(n)) that would minimize the function ƒ.

$\arg\;{\min\limits_{x_{i},y_{i},{z_{i};{i = 1}},2,\;{\ldots\mspace{14mu} n}}\left( {f\left( {x_{i},y_{i},{z_{i};{i = 1}},2,{\ldots\mspace{14mu} n}} \right)} \right)}$

This technique can be applied for both wide area networks (like in a city) or in a local deployment (like in a mall). In one example configuration, the network of transmitters is separated by a distance of approximately 30 km in a triangular/hexagonal arrangement around each metropolitan area. Each tower can radiate via a corresponding antenna up to a maximum power in a range of approximately 20 W to 1 kW EIRP. In another embodiment, the towers can be localized and can transmit at power levels as low as 1 W. The frequency bands of operation include any licensed or unlicensed band in the radio spectrum. The transmit antenna of an embodiment includes an omni-directional antenna, or multiple antennas/arrays that can help with diversity, sectoring etc.

Adjacent towers are differentiated by using different sequences with good cross-correlation properties to transmit or alternatively to transmit the same sequences at different times. These differentiation techniques can be combined and applied to only a given geographical area. For instance the same sequences could be reused over the networks in a different geographical area.

Local towers can be placed in a given geographical area to augment the wide area network towers of an embodiment. The local towers, when used, can improve the accuracy of the positioning. The local towers may be deployed in a campus like environment or, for public safety needs, separated by a distance in a range of few 10s of meters up to a few kilometers.

The towers will preferably be placed on a diversity of heights (rather than on similar heights) to facilitate a better quality altitude estimate from the position solution. In addition to transmitters at different latitude/longitude having different heights, another method to add height diversity to the towers is to have multiple WAPS transmitters (using different code sequences) on the same physical tower (with identical latitude and longitude) at different heights. Note that the different code sequences on the same physical tower can use the same slots, because transmitters on the same tower do not cause a near-far problem.

WAPS transmitters can be placed on pre-existing or new towers used for one or more other systems (such as cellular towers). WAPS transmitter deployment costs can be minimized by sharing the same physical tower or location.

In order to improve performance in a localized area (such as, for example, a warehouse or mall), additional towers can be placed in that area to augment the transmitters used for wide area coverage. Alternatively, to lower costs of installing full transmitters, repeaters can be placed in the area of interest.

Note that the transmit beacon signals used for positioning discussed above need not be transmitters built exclusively for WAPS, but can be signals from any other system which are originally synchronized in time or systems for which synchronization is augmented through additional timing modules. Alternately, the signals can be from systems whose relative synchronization can be determined through a reference receiver. These systems can be, for example, already deployed or newly deployed with additional synchronization capability. Examples of such systems can be broadcast systems such as digital and analog TV or MediaFlo.

When the WAPS network is configured, some transmit locations may be better than some others in the network (height of the beacon above clutter, power levels) either determined by design or by field measurements. Such beacons can be identified to the receivers either directly or indirectly or by encoding data bits which indicate the “quality” of the beacon which the receivers can then use to weight the signal received from such beacons.

FIG. 3 is a block diagram of a positioning system using a repeater configuration, under an embodiment. The repeater configuration comprises the following components:

1) A common WAPS receive antenna (Antenna 1)

2) An RF power amplifier and a splitter/switch connects to various WAPS transmitter antennas (Local Antennas 1-4).

3) WAPS User Receiver

Antenna 1 receives, amplifies and distributes (switches) the composite signal to Local Antennas 1-4. The switching should be done (preferably) in a manner such that there is no overlap (collision) of transmissions from different repeaters at the user receiver. Collision of transmissions can be avoided through the use of guard intervals. The known cable delays from the switch to the transmit antenna should be compensated either by adding delays at the repeater-amplifier-transmitter to equalize the overall delay for all local repeaters or by adjusting the estimated time of arrival from a particular repeater by the cable delay at the user-receiver. When TDMA is used in the wide area WAPS network, the repeater slot switching rate is chosen such that each wide area slot (each slot will contain one wide area WAPS tower) occurs in all repeater slots. One example configuration would use the repeater slot duration equal to a multiple of the wide area TDMA frame duration. Specifically, if the wide area TDMA frame is 1 second, then the repeater slots can be integer seconds. This configuration is the simplest, but is suitable only for deployment in a small, limited area because of requirement of RF signal distribution on cables. The user WAPS receiver uses time-difference of arrival when listening to repeater towers to compute position and works under a static (or quasi static) assumption during the repeater slotting period. The fact that the transmission is from a repeater can be detected automatically by the fact that each WAPS tower signal shows the same timing difference (jump) from one repeater slot to the next one.

FIG. 4 is a block diagram of a positioning system using a repeater configuration, under an alternative embodiment. In this configuration each repeater comprises a WAPS repeater-receiver and an associated coverage-augmentation WAPS transmitter with local antenna (which can be indoors, for example). The WAPS repeater receiver should be able to extract WAPS system timing information as well as WAPS data stream corresponding to one wide area WAPS transmitter. The WAPS system timing and data corresponding to one wide area WAPS transmitter are passed to the corresponding local area WAPS transmitters which can then re-transmit the WAPS signal (for example, using a different code and the same slot). The transmitter will include additional data in its transmission such as latitude, longitude and altitude of the local antenna. In this configuration, the WAPS user receiver operation (range measurement and position measurement) can be transparent to the fact that the signals are coming from repeaters. Note that the transmitter used in the repeater is cheaper than a full WAPS beacon in that it does not need to have a GNSS timing unit to extract GNSS timing.

Depending on the mode of operation of the receiver unit, either terminal-based positioning or network-based positioning is provided by the system. In terminal based positioning, the receiver unit computes the position of the user on the receiver itself. This is useful in applications like turn-by-turn directions, geo-fencing etc. In network based positioning, the receiver unit receives the signals from the towers and communicates or transmits the received signal to a server to compute the location of the user. This is useful in applications like E911, and asset tracking and management by a centralized server. Position computation in the server can be done in near real time or post-processed with data from many sources (e.g., GNSS, differential WAPS etc.) to improve accuracy at the server. The WAPS receiver can also provide and obtain information from a server (similar, for example, to a SUPL Secure User PLane server) to facilitate network based positioning.

The towers of an embodiment maintain synchronization with each other autonomously or using network-based synchronization. FIG. 5 shows tower synchronization, under an embodiment. The following parameters are used in describing aspects of synchronization:

-   -   System transmitter time=t_(WAPS-tx)     -   Absolute time reference=t_(WAPS) _(—) _(abs)     -   Time Adjustment=Δ_(system)=t_(WAPS-tx)−t_(WAPS) _(—) _(abs)         Note that it is not essential to synchronize WAPS system time to         an absolute time reference. However, all WAPS transmitters are         synchronized to a common WAPS system time (i.e. relative timing         synchronization of all WAPS transmitter). Timing corrections of         each transmitter relative to WAPS system time (if any) should be         computed. The timing corrections should be made available to the         receivers either directly through over the air WAPS assistance         transmission or through some other communication means. The         assistance can be delivered, for example, to the WAPS receiver         through a cellular (or other) modem or through a broadcast data         from a system (such as Iridium or digital TV or MediaFlo or         broadcast channels of cellular systems). Alternatively, the         timing correction can be sent to the server and used when         computing position at the server. A description of tower         synchronization of an embodiment follows.

Under network based synchronization, the towers synchronize with each other in a local area. The synchronization between towers generally includes transmission of a pulse (which can be modulated using any form of modulation onto a carrier and/or spread using a spreading code for better time resolution which in turn modulates a carrier) and synchronizing to the pulse edge on the receiver, as described in detail herein.

In the autonomous synchronization mode of an embodiment, the towers are synchronized using a local timing reference. The timing reference can be one of the following, for example: GPS receivers; highly accurate clock sources (e.g., Atomic); a local time source (e.g., GPS disciplined clock); and, any other network of reliable clock sources. Use of signals from XM satellite radio, LORAN, eLORAN, TV signals etc. which are precisely time synchronized can be used as a coarse timing reference for the towers. As an example in one embodiment, FIG. 6 is a block diagram of a PPS pulse source from a GPS receiver being used to discipline an accurate/stable timing source such as a Rubidium, Caesium or a hydrogen master, under an embodiment. Alternatively, a GPS disciplined Rubidium clock oscillator can be used, as shown in FIG. 7.

With reference to FIG. 6, the time constant of the PLL in the accurate clock source is set to a large enough number (e.g., in the range of 0.5-2 hours) which provides for better short term stability (or equivalently, filtering of the short term GPS PPS variations) and the GPS-PPS provides for longer term stability and wider area ‘coarse’ synchronization. The transmitter system continuously monitors these two PPS pulses (from the GPS unit and from the accurate clock source) and reports any anomaly. The anomalies could be that after the two PPS sources being in lock for several hours, one of the PPS sources drifts away from the other source by a given time-threshold determined by the tower network administrator. A third local clock source can be used to detect anomalies. In case of anomalous behavior, the PPS signal which exhibits the correct behavior is chosen by the transmitter system and reported back to the monitoring station. In addition, the instantaneous time difference between the PPS input and PPS output of the accurate time source (as reported by the time source) can either be broadcast by the transmitter or can be sent to the server to be used when post processing.

In the transmitter system, the time difference between the rising edge of the PPS pulse input and the rising edge of the signal that enables the analog sections of the transmitter to transmit the data is measured using an internally generated high speed clock. FIG. 8 shows a signal diagram for counting the time difference between the PPS and the signal that enables the analog sections of the transmitter to transmit the data, under an embodiment. The count that signifies that difference is sent to each of the receivers as a part of the data stream. Use of a highly stable clock reference such as a Rubidium clock (the clock is stable over hours/days) allows the system to store/transmit this correction per tower on the device, just in case the device cannot modulate the specific tower data anymore. This correction data can also be sent via the communication medium to the device, if there is one available. The correction data from the towers can be monitored by either reference receivers or receivers mounted on the towers that listen to other tower broadcasts and can be conveyed to a centralized server. Towers can also periodically send this count information to a centralized server which can then disseminate this information to the devices in the vicinity of those towers through a communication link to the devices. Alternatively, the server can pass the information from towers (e.g., in a locale) to neighboring towers so that this information can be broadcast as assistance information for the neighboring towers. The assistance information for neighboring towers may include position (since the towers are static) and timing correction information about towers in the vicinity.

Similar to the transmitter timing correction of an embodiment, when a true PPS is available it can be used to estimate multipath bias and precise true range. The receiver estimates range using samples of the signal, for example from the ADC. The receiver of an embodiment uses a high speed clock to determine the difference between the occurrence of the PPS and the first edge of the sample ADC clock. This allows the range estimated by the receiver based on the ADC samples to be corrected for the difference between when true PPS occurs and when the ADC samples the data, thus allowing for estimation of the true range of the receiver to a precision better than the sample clock resolution of the ADC. In the context of the discussion in the paragraph above, the PPS refers to a pulse whose edge is aligned to or has known offset from a standard timing base such as GPS pulse-per-second (PPS) timing.

In another embodiment, a wide area differential positioning system can be used to correct for timing errors from the towers. FIG. 9 is a block diagram of the differential WAPS system, under an embodiment. A reference receiver (located at a pre-surveyed location) is used to receive signals from all the towers in the vicinity. Although the principles of differential GPS are applied in this method, dealing with the effects of non-line-of-sight in the terrestrial case makes it unique. The reference receiver's pseudorange (code phase) measurements for each tower are time-tagged and then sent to the server. The received code phase-based ranges measured at the reference receiver for towers j and i can be written as follows: R _(ref) ^(j)(t)=ρ_(ref) ^(j) +c(dt _(ref) −dt ^(j))+ε_(R,ref) ^(j) R _(ref) ^(j)(t)=ρ_(ref) ^(i) +c(dt _(ref) −dt ^(i))+ε_(R,ref) ^(i), where ρ_(ref) ^(j) is the reference receiver to transmit tower j geometric range, dt_(ref) and dt^(j) are respectively the reference receiver and transmitter clock offsets referred to their respective antennas with respect to a common reference time (say, GPS time), c is the speed of light, and ε_(R,ref) ^(j) is the measurement noise.

The differences in clock timing between the towers i and j, dt^(i)−dt^(j) are computed at the server by subtracting the two equations above and using the known geometric ranges from reference receiver to the transmit towers. This allows for elimination of the timing differences between the transmitters in the rover/mobile station measurements. Note that averaging over time can be used to get better (e.g., less noisy) estimates of the time difference dt^(i)−dt^(j) when the clocks used in the transmit towers are relatively stable.

The rover/mobile station's pseudorange measurements are also time tagged and sent to a server. The received code phase based ranges measured at the rover/mobile station can be written as: R _(m) ^(i)(t)=ρ_(m) ^(i) +c(dt _(m) −dt ^(i))+ε_(R,m) ^(i) R _(m) ^(j)(t)=ρ_(m) ^(j) +c(dt _(m) −dt ^(j))+ε_(R,m) ^(j). By subtracting the two equations above and re-arranging, the result is (ρ_(m) ^(j)−ρ_(m) ^(i))=(R_(m) ^(j)(t)−R_(m) ^(i)(t))−c(dt^(i)−dt^(j))+(ε_(R,m) ^(i)−ε_(R,m) ^(j)). Note that R_(m) ^(j)(t) and R_(m) ^(i)(t) are measured quantities and the quantity dt^(i)−dt^(j) is computed from the reference receiver measurements. Each of ρ_(ref) ^(j) and ρ_(ref) ^(j) can be written in terms of the unknown coordinates of the receiver and the known coordinates of the transmit towers i and j. With three range measurements, two range difference equations can be formed as above to obtain a two-dimensional position solution or with four range measurements, three range difference equations can be formed as above to obtain a three-dimensional position. With additional measurements, a least square solution can be used to minimize the effect of the noise quantities ε_(R,m) ^(i) and ε_(R,m) ^(j).

Alternatively, the timing difference corrections can be sent back to the mobile station to correct for the errors in-situ and to facilitate position computation at the mobile station. The differential correction can be applied for as many transmitters as can be viewed by both the reference and the mobile stations. This method can conceptually allow the system to operate without tower synchronization or alternatively to correct for any residual clock errors in a loosely synchronized system.

Another approach is a standalone timing approach as opposed to the differential approach above. One way of establishing timing synchronization is by having GPS timing receivers at each Transmit tower in a specific area receive DGPS corrections from a DGPS reference receiver in the same area. A DGPS reference receiver installed at a known position considers its own clock as a reference clock and finds corrections to pseudo-range measurements to the GPS satellites it tracks. The DGPS correction for a particular GPS satellite typically comprises total error due to satellite position and clock errors and ionospheric and tropospheric delays. This total error would be the same for any pseudo-range measurement made by other GPS receivers in the neighborhood of the DGPS reference receiver (typically with an area of about 100 Km radius with the DGPS receiver at the center) because line of sight between DGPS reference receiver and GPS satellite does not change much in direction within this neighborhood. Thus, a GPS receiver using DGPS correction transmitted by a DGPS reference receiver for a particular GPS satellite uses the correction to remove this total error from its pseudo-range measurement for that satellite. However in the process it would add the DGPS reference receiver's clock bias with respect to GPS time to its pseudo-range measurement. But, since this clock bias is common for all DGPS pseudo-range corrections, its effect on the timing solutions of different GPS receivers would be a common bias. But this common bias gives no relative timing errors in the timings of different GPS receivers. In particular, if these GPS receivers are timing GPS receivers (at known positions) then all of them get synced to the clock of DGPS reference receiver. When these GPS timing receivers drive different transmitters, the transmissions also get synchronized.

Instead of using corrections from a DGPS reference receiver, similar corrections transmitted by Wide Area Augmentation System (WAAS) satellites can be used by GPS timing receivers to synchronize transmissions of the transmitters which they drive. An advantage of WAAS is that the reference time is not that of the DGPS reference system but it is the GPS time itself as maintained by the set of accurate atomic clocks.

Another approach to achieving accurate time synchronization between the towers across a wide area is to use time transfer techniques to establish timing between pairs of towers. One technique that can be applied is referred to as “common view time transfer”. FIG. 10 shows common view time transfer, under an embodiment. The GPS receivers in the transmitters that have the view of a common satellite are used for this purpose. Code phase and/or carrier phase measurements from each of the towers for the satellites that are in common view are time tagged periodically (e.g., minimum of once every second) by the GPS receivers and sent to a server where these measurements are analyzed.

The GPS code observable R_(p) ^(i) (signal emitted by satellite “i” and observed by a receiver “p”) can be written as: R _(p) ^(i)(t)=ρ_(p) ^(i) +c(δ_(R) ^(i)+ρ_(R,p) +T _(p) ^(i) +I _(p) ^(i))+c(dt _(p) −dt ^(i))+ε_(R,p), where ρ_(p) ^(i), is the receiver-satellite geometric range equal to |{right arrow over (X)}_(p)−{right arrow over (X)}^(i)|, {right arrow over (X)}_(p) is the receiver antenna position at signal reception time, {right arrow over (X)}^(i) represents the satellite position at signal emission time, I_(p) ^(i) and T_(p) ^(i) are respectively the ionospheric and tropospheric delays, and δ_(R) _(p) and δ_(r) ^(i) are the receiver and satellite hardware group delays. The variable δ_(R) _(p) includes the effect of the delays within the antenna, the cable connecting it to the receiver, and the receiver itself. Further, dt_(p) and dt^(i) are respectively the receiver and satellite clock offsets with respect to GPS time, c is the speed of light, and ε_(R) is the measurement noise.

The common view time transfer method computes the single difference code observable R_(pq) ^(i), which is the difference between code observables simultaneously measured at two receivers (called “p” and “q”) as

$R_{pg}^{i} = {\underset{\underset{\underset{difference}{{geometrical}\mspace{14mu}{range}}}{︸}}{\rho_{p}^{i} - \rho_{q}^{i}} + \underset{\underset{\underset{{between}\mspace{14mu}{clocks}}{{time}\mspace{14mu}{difference}}}{︸}}{c\left( {{dt}_{p} - {dt}_{q}} \right)} + \underset{\underset{\underset{{delay}\mspace{14mu}{difference}}{{{Troposhpere}\mspace{11mu}\&}\mspace{11mu}{Ionosphere}}}{︸}}{{c\left( {T_{p}^{i} - T_{q}^{i}} \right)} + {c\left( {I_{p}^{i} - I_{q}^{i}} \right)}} + \underset{\underset{{{Group}\mspace{14mu}{delay}\mspace{14mu}{difference}}{{between}\mspace{14mu}{receivers}}}{︸}}{c\left( {\delta_{R,p} - \delta_{R,q}} \right)} + \left( {ɛ_{R,p} - ɛ_{R,q}} \right)}$ In calculating the single difference observable, the group delay in the satellite as well as the clock error of the satellite gets cancelled. Also, note that in the above equation the tropospheric and ionospheric perturbations cancel (or, can be modeled, for example in cases where the receiver separation is large). Once the group delay differences between the receivers are calibrated, the desired time difference c(dt_(p)−dt_(q)) between the receiver clocks can be found from the equation. The single difference across multiple time and satellite measurements can be combined to further improve the quality of the estimated time difference.

In a similar manner, the single difference carrier phase equation for common view time transfer can be written as:

$\Phi_{pq}^{i} = {\underset{\underset{\underset{difference}{{geometrical}\mspace{14mu}{range}}}{︸}}{\rho_{p}^{i} - \rho_{q}^{i}} + \underset{\underset{\underset{{between}\mspace{14mu}{clocks}}{{time}\mspace{14mu}{difference}}}{︸}}{c\left( {{dt}_{p} - {dt}_{q}} \right)} + \underset{\underset{\underset{{delay}\mspace{14mu}{difference}}{{{Troposhpere}\mspace{11mu}\&}\mspace{11mu}{Ionosphere}}}{︸}}{{c\left( {T_{p}^{i} - T_{q}^{i}} \right)} + {c\left( {I_{p}^{i} - I_{q}^{i}} \right)}} + \underset{\underset{{{Group}\mspace{14mu}{delay}\mspace{14mu}{difference}}{{between}\mspace{14mu}{receivers}}}{︸}}{c\left( {\delta_{\phi,p} - \delta_{\phi,q}} \right)} + \underset{\underset{{{initial}\mspace{14mu}{ambiguity}{\mspace{11mu}\;}{in}}{phase}}{︸}}{\lambda\left( {\phi_{p}^{i} - \phi_{q}^{i}} \right)} + \underset{\underset{{{integer}\mspace{14mu}{ambiguity}\mspace{14mu}{in}}{{phase}\mspace{14mu}{measurement}}}{︸}}{\lambda\left( {N_{p}^{i} - N_{q}^{i}} \right)} + {\left( {ɛ_{\phi,p} - ɛ_{\phi,q}} \right).}}$ Note that since initial phase ambiguity and integer ambiguity are present in the above equation, the phase single difference cannot be used to determine the time transfer directly. A combined use of the code and phase observations allows for advantage to be taken of the absolute information about time difference from the codes and the precise information about the evolution of time difference from the carrier phases. The error variance in the carrier phase single difference is significantly better than the code phase single difference leading to better time transfer tracking.

The resulting errors per tower for a given satellite are either sent back to the tower for correction, applied at the tower, sent to the receivers over the communication link for the additional corrections to be done by the receiver, or sent as a broadcast message along with other timing corrections from the tower. In specific instances, it might be such that the measurements from the towers and the receiver are post-processed on the server for better location accuracy. A single channel GPS timing receiver or a multiple channel timing receiver that produces C/A code measurements and/or carrier phase measurements from L1 and/or L2 or from other satellite systems such as Galileo/Glonass can be used for this purpose of common view time transfer. In multiple channel systems, information from multiple satellites in common view are captured at the same instant by the receivers.

An alternative mechanism in “common view time transfer” is to ensure that different timing GPS receivers in the local area (each feeding to its corresponding transmitter) use only common satellites in their timing pulse derivation (e.g., one pulse per second) but no attempt is made to correct the timing pulses to be aligned to the GPS (or UTC) second. The use of common view satellites ensure that common errors in timing pulses (such as common GPS satellite position and clock errors and ionospheric and tropospheric delay compensation errors) pull the errors in timing pulse by about same magnitude and relative errors in timing pulses are reduced. Since, in positioning, only relative timing errors matter, there is no need for any server-based timing error correction. However, a server can give commands to different GPS receivers on which GPS satellites are to be used in deriving timing pulses.

An alternative method of time transfer is the “two-way time transfer” technique. FIG. 11 shows the two-way time transfer, under an embodiment. Consider two towers that are used to time against each other. Transmissions from each of the two transmitters starts on the PPS pulse and a time interval counter is started on the receive section (WAPS Receiver) of the transmit towers. The received signal is used to stop the time interval counter on either side. The results from the time interval counter are sent over the data modem link to the WAPS server where these results along with transmit times are compared and the errors in timing between the two towers can be computed. This can then be extended to any number of towers. In this method, the relationship between the counter measurements ΔT_(i) at tower i and ΔT_(j) at tower j, and the time difference dt_(ij) between the clock in i and j can be represented as

${{dt}_{ij} = {{T_{i} - T_{j}} = {{\frac{1}{2}\left( {{\Delta\; T_{i}} - {\Delta\; T_{j}}} \right)} + {\frac{1}{2}\left\lbrack {\left( {\tau_{i}^{Tx} + \tau_{j}^{Rx}} \right) - \left( {\tau_{j}^{Tx} + \tau_{i}^{Rx}} \right)} \right\rbrack}}}},$ where τ_(i) ^(Tx) & τ_(j) ^(Tx) are the transmitter delays of the towers, and τ_(i) ^(Rx) & τ_(j) ^(Rx) are the receiver delays of towers. The time difference can be estimated once the transmitter and receiver delays are calibrated.

In addition to the time transfer between towers, the timing of the towers relative to GPS time can be found by the GPS timing receivers used in common view time transfer. Using the range measurement as R _(p) ^(i)(t)=ρ_(p) ^(i) +c(δ_(R) ^(i)+δ_(R,p) +T _(p) ^(i) +I _(p) ^(i))+c(dt _(p) −dt ^(i))+ε_(R,p), the time correction of local clock relative to GPS time dt_(p) is computed, after accounting for the delay of the receiver, satellite clock errors and ionospheric/tropospheric errors. The delay of the receiver δ_(R,p) can be calibrated by measurement of the group delay. Information from the GPS satellite navigation message (either obtained through demodulation or from a server) can be used to compute the satellite timing correction which eliminates the effect of dt^(i) and δ_(R) ^(i). Similarly, troposphere and ionosphere delay effects are minimized using the corrections from an external model. Ionospheric corrections can be obtained for example from WAAS messages. Alternatively, a combination of clock and ionospheric/tropospheric corrections can be obtained from RTCM DGPS corrections for the pseudorange, when available.

The offset relative to GPS time can also be sent as part of the data stream from the towers. This enables any WAPS receiver that acquires the WAPS signal to provide accurate GPS time and frequency aiding to significantly reduce GNSS search requirements in a GNSS receiver.

In an embodiment of the system, the broadcast transmitters can be employed ad hoc to provide localized indoor position determination. For example, in a fire-safety application, the WAPS transmitters would be placed on three or more broadcast stations (could be fire trucks, for example). The towers would synchronize to each other by one of the many means described earlier and broadcast signals. The bandwidth and chipping rates would be scaled based on spectrum availability and accuracy requirements in that area for that application at that time. The receivers would be notified of the system parameters through the communication link to the devices.

FIG. 12 is a block diagram of a receiver unit, under an embodiment. The beacon signal is received at the antenna on the receiver unit, down-converted, demodulated and decrypted and fed to the positioning engine. The receiver provides all information to reconstruct the signal accurately. The receive antenna can be an omni-directional antenna or, alternatively, a number of antennas/arrays providing diversity etc. In another embodiment, the mixing and down conversion can be done in the digital domain. Each receiver unit includes or uses a unique hardware identification number and a computer generated private key. Each receiver unit, in general, stores the last few locations in non volatile memory and can be later queried remotely for the last few stored locations. Based on the availability of the spectrum in a given area, the transmitters and receivers can adapt to the available bandwidth and change the chipping rate and filter bandwidths for better accuracy and multipath resolution.

In one embodiment, the digital baseband processing of the received signals is accomplished using commercially-available GPS receivers by multiplexing/feeding the signal from a GPS RF section with the WAPS RF module. FIG. 13 is a block diagram of the receiver with a WAPS RF module, under an embodiment. The RF module includes one or more of Low noise amplifiers (LNAs), filters, down-converter, and analog to digital converters, to name a few. In addition to these components, the signal can be further conditioned to fit the input requirements of the GPS receiver using additional processing on chip or a custom ASIC or on an FPGA or on a DSP or on a microprocessor. The signal conditioning can include digital filtering for in-band or out-of band noise (such as ACI—adjacent channel interference), translating intermediate or baseband frequencies of the input to the GPS IC from the frequencies of the WAPS receiver, adjusting the digital signal strength so that the GPS IC will be able to process the WAPS signal, automatic gain control (AGC) algorithms to control the WAPS frontend etc. In particular, the frequency translation is a very useful feature because this allows the WAPS RF module to work with any commercially available GPS receiver. In another embodiment, the entire RF frontend chain including the signal conditioning circuits for the WAPS system can be integrated onto an existing GPS die that contains a GPS RF chain.

In another embodiment, if access to the digital baseband input is not available, the signal can be up-converted/down-converted from any band to the GPS band and fed into the RF section of the GPS receiver. FIG. 14 shows signal up-conversion and/or down-conversion, under an embodiment.

In another embodiment, multiple RF chains or tunable RF chains can be added to both the transmitter and receiver of the WAPS system so as to use the most effective frequency of operation in a given area, be it wide or local. The choice of frequency can be determined by cleanliness of the spectrum, propagation requirements, etc.

Similarly, WAPS can temporarily use a receive chain in a receiver system that includes multiple receive chains. For example, a wideband CDMA (W-CDMA) receiver system includes two receive chains to improve receive diversity. Thus, when WAPS is used in a W-CDMA receiver system one of the two native receive chains of the W-CDMA can be used temporarily for receiving and processing WAPS signals. FIG. 15 is a block diagram of a receiver system having multiple receive chains in which one of the receive chains can be used temporarily for receiving and processing WAPS signals, under an embodiment. In this example, the diversity receive chain can be used to temporarily receive and process the WAPS signals. Alternatively, the GPS receive chain can be used to temporarily receive and process the WAPS signals.

The radio front-end can be shared between WAPS and another application. Some parts of the frontend can be shared and some may be used on a mutually exclusive basis. For example, if the die/system already has a TV (NTSC or ATSC or systems like DVB-H, MediaFLO) tuner front-end including the antenna, the TV tuner radio and antenna can be shared with the WAPS system. They can operate on a mutually exclusive basis in that, either the system receives TV signals or receives WAPS signals at any given time. In another embodiment, if it makes it easier to add a WAPS RF section to such a system, the antenna can be shared between the TV tuner and the WAPS system allowing both systems to operate simultaneously. In cases where the system/die has a radio like an FM radio, the RF front-end can be modified to accommodate both the WAPS system and the FM radio and these radios can operate on a mutually exclusive basis. Similar modifications can be done for systems that have some RF frontends that operate in close frequency proximity to the WAPS RF band.

The clock source reference such as crystal, crystal oscillator (XO), Voltage Controlled Temperature Compensated Crystal Oscillator (VCTCXO), Digitally-controlled Crystal Oscillator (DCXO), Temperature Compensated Crystal Oscillator (TCXO), that is used for a GNSS sub-system can be shared with the WAPS receiver to provide the reference clock to the WAPS receiver. This sharing can be done on the die or off-chip. Alternatively, the TCXO/VCTCXO used by any other system on a cellular phone can shared with the WAPS system. FIG. 16 is a block diagram showing clock sharing in a positioning system, under an embodiment. Note that the transceiver or processor system block can refer to a variety of systems. The transceiver system that shares the clock with the WAPS system can be a modem transceiver (for example, a cellular or WLAN or BT modem) or a receiver (for example, a GNSS, FM or DTV receiver). These transceiver systems may optionally control the VCTCXO or DCXO for frequency control. Note that the transceiver system and the WAPS system may be integrated into a single die or may be separate dies and does not impact the clock sharing. The processor can be any CPU system (such as an ARM sub-system, Digital Signal Processor system) that uses a clock source. In general, when a VCTCXO/DCXO is shared, the frequency correction applied by the other system may be slowed down as much as possible to facilitate WAPS operation. Specifically, the frequency updates within the maximum integration times being used in WAPS receiver may be limited to permit better performance (i.e. minimizing SNR loss) for the WAPS receiver. Information regarding the state of the WAPS receiver (specifically, the level of integration being used, acquisition versus tracking state of the WAPS system) can be exchanged with the other system for better coordination of the frequency updates. For example, frequency updates could be suspended during WAPS acquisition phase or frequency updates can be scheduled when the WAPS receiver is in sleep state. The communication could be in the form of control signals or alternatively in the form of messages exchanged between the transceiver system and the WAPS system.

The WAPS broadcasts signals and messages from the towers in such a way that a conventional GPS receiver's baseband hardware need not be modified to support both a WAPS and a traditional GPS system. The significance of this lies in the fact that although the WAPS system has only half the available bandwidth as the GPS C/A code system (which affects the chip rate), the WAPS broadcast signal is configured to operate within the bounds of a commercial grade C/A code GPS receiver. Further, based on signal availability, the algorithms will decide whether GPS signals should be used to determine position or WAPS signals or a combination thereof should be used to get the most accurate location.

The data transmitted on top of the gold codes on the WAPS system can be used to send assistance information for GNSS in the cases of a hybrid GNSS-WAPS usage scenario. The assistance can be in the form of SV orbit parameters (for example, ephemeris and almanac). The assistance may also be specialized to SVs visible in the local area.

In addition, the timing information obtained from the WAPS system can be used as fine time aiding for the GNSS system. Since the WAPS system timing is aligned to GPS (or GNSS) time, aligning to the code and bit of WAPS signal and reading the data stream from any tower provides coarse knowledge of GNSS time. In addition, the position solution (the receiver's clock bias is a by-product of the position solution) determines the WAPS system time accurately. Once the WAPS system time is known, fine time aiding can be provided to the GNSS receiver. The timing information can be transferred using a single hardware signal pulse whose edge is tied to the internal time base of WAPS. Note that the WAPS system time is directly mapped onto GPS time (more generally, with GNSS time, since the time bases of GNSS systems are directly related). The GNSS should be able to latch its internal GNSS time base count upon receipt of this edge. Alternatively, the GNSS system should be able to generate a pulse whose edge is aligned to its internal time base and the WAPS system should be capable of latching its internal WAPS time base. The WAPS receiver then sends a message with this information to the GNSS receiver allowing the GNSS receiver to map its time base to WAPS time base.

Similarly, the frequency estimate for the local clock can be used to provide frequency aiding to the GNSS receiver. Note that frequency estimate from WAPS receiver can be used to refine the frequency estimate of the GNSS receiver whether or not they share a common clock. When the two receivers have a separate clock, an additional calibration hardware or software block is required to measure the clock frequency of one system against the other. The hardware or software block can be in the WAPS Receiver section or in the GNSS receiver section. Then, the frequency estimate from the WAPS receiver can be used to refine the frequency estimate of the GNSS receiver.

The information that can be sent from the WAPS system to the GNSS system can also include an estimate of location. The estimate of location may be approximate (for example, determined by the PN code of the WAPS tower) or more accurate based on an actual position estimate in the WAPS system. Note that the location estimate available from the WAPS system may be combined with another estimate of position from a different system (for example, a coarse position estimate from cellular ID based positioning) to provide a more accurate estimate of position that can be used to better aid the GNSS system. FIG. 17 is a block diagram of assistance transfer from WAPS to GNSS receiver, under an embodiment.

The GNSS receiver can also help improve the performance of the WAPS receiver in terms of Time-To-First-Fix (TTFF), sensitivity and location quality by providing location, frequency and GNSS time estimates to the WAPS receiver. As an example, FIG. 18 is a block diagram showing transfer of aiding information from the GNSS receiver to the WAPS receiver, under an embodiment. Note that the GNSS system can be replaced by LORAN, e-LORAN or similar terrestrial positioning system as well. The location estimate can be partial (eg. Altitude or 2-D position), or complete (eg. 3-D position) or raw range/pseudo-range data). The range/pseudo-range data should be provided along with the location of SV (or means to compute the location of the SV such as SV orbit parameters) to enable usage of this range information in a hybrid solution. All location aiding information should be provided along with a metric indicating its quality. When providing GNSS time information (which may be transferred to the WAPS system using a hardware signal), the offset of GNSS time relative to GPS time (if any) should be provided to enable usage in the WAPS receiver. Frequency estimates, can be provided as an estimate of the clock frequency along with a confidence metric (indicating the estimated quality of the estimate, for example, the maximum expected error in the estimate). This is sufficient when the GNSS and WAPS systems share the same clock source. When the GNSS and WAPS systems use a separate clock, the GNSS clock should also be provided to the WAPS system to enable the WAPS system to calibrate (i.e. estimate the relative clock bias of WAPS with respect to GNSS clock) or, alternatively, the WAPS system should provide its clock to the GNSS system and the GNSS system should provide a calibration estimate (i.e. an estimate the relative clock bias of WAPS with respect to GNSS clock).

To further improve the sensitivity and TTFF of a WAPS receiver, assistance information (such as that would otherwise be decoded from the information transmitted by the towers) can be provided to the WAPS receiver from a WAPS server by other communication media (such as cellular phone, WiFi, SMS etc). With the “almanac” information already available, the WAPS receiver's job becomes simple since the receiver just needs to time align to the transmit waveform (without requirement of bit alignment or decoding). The elimination of the need to decode the data bits reduces TTFF and therefore saves power since the receiver does not need to be continuously powered on to decode all the bits. FIG. 19 is an example configuration in which WAPS assistance information is provided from a WAPS server, under an embodiment.

A beacon may be added to the receiver to further improve local positioning. The beacon can include a low power RF transmitter that periodically transmits a waveform with a signature based on a device ID. For example, the signature can be a code that uniquely identifies the transmitter. An associated receiver would be able to find a location of the transmitter with a relatively higher accuracy through either signal energy peak finding as it scans in all directions, or through direction finding (using signals from multiple-antenna elements to determine direction of signal arrival).

Resolution of Multipath Signals

Resolution of multipath is critical in positioning systems. Wireless channel is often characterized by a set of randomly varying multipath components with random phases and amplitudes. For positioning to be accurate, it is imperative that the receiver algorithm resolves the line-of-sight (LOS) path if present (it will be the first arriving path) or the path that arrives first (which may not necessarily be the LOS component).

Traditional methods often work as follows: (1) the received signal is cross-correlated with the transmitted pseudo-random sequence (e.g. Gold code sequence, which is known at the receiver); (2) the receiver locates the first peak of the resulting cross-correlation function and estimates that the timing of the path that arrived first is the same as the timing indicated by the position of this peak. These methods work effectively as long as the lowest multipath separation is much larger than inverse of the bandwidth available which is often not the case. Bandwidth is a precious commodity and a method which can resolve multipath with the minimal amount of bandwidth is highly desired to improve the efficiency of the system.

Depending on the channel environment (including multipath and signal strength), an appropriate method for obtaining an estimate of the earliest arriving path is used. For best resolvability, high-resolution methods are used whereas for reasonable performance at low SNRs more traditional methods that directly use the cross-correlation peak samples and some properties of the correlation function around the peak are applied.

Consider the quantized received signal y[n] sampled at a rate f_(s) given by:

y[n] = h_(eff)[n] ⊗ x[n] ${y\lbrack n\rbrack} = {\sum\limits_{i = n_{0}}^{\infty}{{h_{eff}\lbrack i\rbrack}.{x\left\lbrack {n - i} \right\rbrack}}}$ where y[n] is the received signal which is the convolution of the transmitted pseudo-random sequence x[n] with the effective channel h_(eff)[n]=h[n]

h_(tx)[n]

h_(rx)[n], where h_(tx)[n] is the transmit filter, h_(tx)[n] is the receive filter and h[n] is the multi-path channel.

One method to find the peak position is by peak interpolation using the values surrounding the apparent peak position. The interpolation may be quadratic using one value on either side of the peak or may use a higher order polynomial using two or more samples around the peak or may use a best fit for the actual pulse shape. In the case of quadratic interpolation, a quadratic is fitted to the peak value and the values immediately surrounding the peak. The peak of the quadratic determines the peak position that is used for ranging. This method is quite robust and can work well at low SNR.

An alternative embodiment may use a value other than the peak position as the reference position. Note that the DLL actually uses the peak position as reference position on the correlation function whereas this method uses a point different from the peak as reference. This method is motivated by the fact that the early edge of the correlation peak is less affected by multi-path than the trailing edge. For example, a point 75% of chip T_(c) from the peak on the undistorted (without channel effects) correlation function may be used as a reference point. In this case, the portion of the interpolated z[n] function that matches this 75% point is selected and the peak is found as 25% of T_(c) away from this point.

Another alternative peak correlation function based method may use the peak shape (such as a measure of distortion of the peak, for example, peak width). Starting from the peak location and based on the shape of the peak, a correction to the peak location is determined to estimate the earliest arriving path.

High-resolution methods are a class of efficient multipath-resolution methods which use Eigen-space decompositions to locate the multipath components. Methods such as MUSIC, ESPIRIT fall under this class of resolution schemes. They are highly powerful schemes as in they can resolve effectively much more closely spaced multipath components than traditional methods, for the same given bandwidth. The high resolution earliest time of arrival method attempts to estimate directly the time of arrival of earliest path rather than inferring the peak position from the peak values. The below assumes that a coarse-acquisition of the transmitted signal is already available at the receiver and the start of the pseudo-random sequence is known roughly at the receiver.

FIG. 20 is a flow diagram for estimating an earliest arriving path in h[n], under an embodiment. The method to determine the earliest path comprises the following operations, but is not so limited:

-   1. Cross-correlate the received samples y[n] with the transmit     sequence x[n] to obtain the result z[n]. When the cross-correlation     is written in terms of a convolution,     z[n]=y[n]     x*[−n]     -   The equation can be re-written as         z[n]=h _(eff) [n]         φ _(xx) [n]     -   where φ_(xx)[n] is the autocorrelation function of the         pseudo-random sequence -   2. Locate the first peak of z[n] and denote it as n_(peak). Extract     wL samples to the left of the peak and wR samples to the right of     the peak of z[n] and denote this vector as pV.     pV=[z[n _(peak) −wL+1] . . . z[n _(peak) +wR]]     -   The vector pV denotes the useful part of the cross-correlation         result z[n]. In the ideal case, in the absence of channel         distortion and when the channel BW is not limited, the choosing         wL=wR=ƒ_(s)T_(c) would be sufficient to determine the timing of         the received signal. In the presence of limited BW, for the case         when the pseudo-random code x[n] is a sequence of +1/−1's, the         optimal method to choose wL and wR are to choose them as the         non-zero values (or, more generally, values > a certain         threshold defined as a fraction of the peak value are selected)         present on the left and right side of the peak of p[n]=h_(tx)[n]         h_(tx)[n] respectively. One other consideration in the choice of         wL and wR is to select enough uncorrelated noise samples to         obtain enough information regarding the noise sub-space. In         addition, the integers wL and wR should be chosen to include all         possible multipath components especially on the left side (i.e.         through choice of wL) to help resolve far-out multipath         components. Including too many samples beyond ƒ_(s)T_(c)         increases the amount of noise introduced in the pV vector and         hence has to be curtailed. Through simulation and experiments, a         typical set of values for wL and wR are 3ƒ_(s)T_(c) and         3ƒ_(s)T_(c), respectively.     -   Note that z[n] (and in turn pV) contains the effect of the         channel h[n], the transmit filter h_(tx)[n], the receive filter         h_(rx) [n] and the autocorrelation function of the pseudo-random         sequence φ_(xx)[n]. In order to estimate the earliest arriving         path in the channel, the other effects need to be eliminated. In         many cases the transmit and receive pulse-shapes are matched for         best noise performance, but that constraint is not required for         this algorithm to work. The reference correlation function is         defined as φ_(ref)[n]=φ_(xx)[n]         h_(tx)[n]         h_(rx)[n] which needs to be estimated and eliminated before pV         can be used for estimation of earliest arriving path. -   3. The Reference correlation function φ_(ref)[n] is estimated next.     -   One method to obtain the reference cross-correlation is as         follows: perform steps 1-2 on a ideal channel (a so called         “cabled link”) to obtain the corresponding peak vector pV_(Ref).         pV_(Ref) contains the useful samples of the reference         correlation function φ_(ref)[n]. FIG. 21 is a flow diagram for         estimating reference correlation function, under an embodiment.     -   The “Cabled link” method involves sending the modulated signal         from the transmitter front-end (power-amplifier and transmit         antenna is by-passed) through an ‘ideal’ channel (for example, a         cable) to the receiver front-end (bypass the receive antenna).         Note that the ‘ideal’ channel can have some delay and         attenuation, but should not add any other distortion and must         have high SNR. For the best performance, the ‘cabled’ reference         needs to be generated separately for each pseudo-random sequence         as they have different autocorrelation functions and hence         different references. It is also then critical to choose PRNs         properly for the best autocorrelation functions (specifically,         their close in autocorrelation side-lobes should be well         suppressed compared to the peak) which will result in the best         overall performance of the timing-resolution method, since         autocorrelation sidelobes can get mistaken for multipath unless         sufficiently attenuated.     -   Assuming transmit filter responses are controlled, one         calibration of the response on cabled link is required per         receiver during production. If receiver filter characteristics         can be controlled (for example, for a bunch of receivers), then         the calibration on cabled link of the response can be further         reduced to one calibration measurement for a set of receivers.     -   An alternative method for determining the reference correlation         function φ_(ref)[n] is to compute the individual components         φ_(xx)[n], h_(tx)[n] and h_(rx)[n] analytically and to convolve         them to arrive at the reference correlation function φ_(ref)[n].         Note that this method depends on the extent to which transmit         and receive filter impulse responses can be controlled in an         actual implementation. -   4. Improve the SNR in the estimate of pV by coherently averaging     across multiple gold codes and even across multiple bits. Averaging     across multiple bits can be done coherently after decisions on the     individual bits being transmitted have been made. In other words     using decision feedback before integration across bits. Note that     improved SNR can be obtained equivalently by performing averaging in     the cross-correlation function estimation in Step 1. -   5. Calculate the Fast Fourier Transform (FFT) of length N_(fft) of     pV and pV_(Ref) with zero padding of N_(fft)−(wL+wR) zeros to obtain     the length N_(fft) vectors pV_(Freq) and pV_(Ref,Freq) respectively.     An optimal value for N_(fft) is obtained by checking resolvability     of multipath through simulations using both synthetic and real     measured channels. A typical value of N_(fft) was found to be     greater than or equal to 4096. The     pV _(Freq)=FFT[pV zeropad]     pV _(Ref,Freq)=FFT[pV _(Ref) zeropad] -   6. Calculate

${H_{full}\lbrack k\rbrack} = \frac{{pV}_{Freq}\lbrack k\rbrack}{{pV}_{{Ref},{Freq}}\lbrack k\rbrack}$

-    to obtain the frequency domain estimate (corrupted with noise) of     the channel h[n]. If the received sequence y[n] is oversampled by

$N_{os}\left( {{i.e.N_{os}} = \frac{f_{s}T_{c}}{2}} \right.$

-    for a transmit pulse shape band-limited to +/−1/Tc) and if the     transmit and receive pulse-shaping filters are perfectly     band-limited with BW=1/Tc, then exactly

$N = \frac{N_{fft}}{2N_{os}}$

-    positive and negative samples around DC of H_(full)[k] are non-zero     (i.e. usable) for estimation of the real channel, H_(real)[k]. From     our studies, we have concluded that

$\frac{N_{fft}}{2\alpha\; N_{os}}$

-    samples on either side of DC should be picked for the best     performance of the resolution algorithm, where α>1 is chosen based     on the actual pulse-shaping filters used at the transmitter and     receiver and the autocorrelation function φ_(xx)[n]. Note that     including the frequency transition band of φ_(ref)[n] causes noise     enhancement and α is chosen large enough to exclude these     frequencies in the selected samples. However, choosing α too large     will cause loss of signal information. A preferred choice of α=1.25     for real band-limited functions based on raised-cosine filter shapes     with small excess bandwidth has been used in the implementation. -   7. If the DC component of H_(full)[k] is at index 0, the reduced H     vector, H[ ] is defined as:     H=[H _(full) [N _(fft) −N+1] . . . H _(full) [N _(fft) ]H     _(full)[0]H _(full)[1] . . . H _(full) [N]] -   8. Construct the matrix P from the reduced channel estimate vector     H[k],

$P = \begin{bmatrix} {H(M)} & \ldots & {H\left( {{2N} - 1} \right)} & {H^{\prime}(0)} & \ldots & {H^{\prime}\left( {{2N} - M + 1} \right)} \\ {H\left( {M - 1} \right)} & \ldots & {H\left( {{2N} - 2} \right)} & {H^{\prime}(1)} & \ldots & {H^{\prime}\left( {{2N} - M + 2} \right)} \\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots \\ {H(0)} & \ldots & {H\left( {{2N} - M + 1} \right)} & {H^{\prime}(M)} & \ldots & {H^{\prime}\left( {{2N} - 1} \right)} \end{bmatrix}$

-   -   where 1<M<2N is a parameter and ( )′ represents conjugate of the         complex number.     -   Define the estimated covariance matrix R of the reduced channel         estimate vector H[k] as         R=P×P′     -   If M is chosen to be too small (close to 1), then the         eigen-values of R are very limited in number and, as a result,         the high-resolution algorithm cannot delineate between the         signal and noise. If M is chosen too large (close to 2N), then         the covariance matrix estimate R is unreliable as the amount of         averaging in obtaining the covariance is inadequate and also the         covariance matrix R obtained is rank-deficient. Thus, a value of         M which is right in the middle of its allowable range i.e. M=N         is a good choice. This has also been verified empirically.

-   9. Perform singular value decomposition (SVD) on R as     R=UDV′     -   Where U is a matrix of the left singular vectors, V is the         matrix of the right singular vectors and D is the diagonal         matrix of singular values.

-   10. Construct the vector of sorted singular values sV as     sV=diagonal elements of D sorted in descending order

-   11. The next key step is to separate the signal and noise subspaces.     In other words, to select an index ns in the vector sV such that the     singular values sV[ns+1] . . . sV[N] correspond to noise. Define a     vector of noise singular values as sV_(noise).     -   There are a number of methods possible to separate the singular         values corresponding to the noise subspace and find a         representation for the basis vectors of the noise sup-space:         -   a) All singular values which are smaller than

$\frac{\max({sV})}{T_{1}}$

-   -   -    where T₁ is a threshold value which is a function of the             signal-noise ratio (e.g. SNR on the chip) T₁=ƒ(SNR).             -   FIG. 22 is a flow diagram for estimating noise                 sub-space, under an embodiment.         -   b) All singular values less than

${\min\left( {\frac{\max({sV})}{T_{1}},{{{mean}\left( {{sV}\left( {L:M} \right)} \right)} \times T_{2}}} \right)},$

-   -   -    where L is a parameter which can be chosen greater than             delay-spread (e.g. N/2) and T₂ is another threshold value             determined empirically (typical value can be 1000).             -   FIG. 23 is a flow diagram for estimating noise                 sub-space, under an alternative embodiment.         -   c) Another method involves determining the noise subspace by             repeatedly estimating the SNR for different partitions of             noise and signal-plus-noise subspaces and comparing with             another estimate of SNR. FIG. 24 is a flow diagram for             estimating noise sub-space, under another alternative             embodiment.             -   1) Calculate estimate of SNR as follows:                 -   i. Assume that the noise is represented by the sV( )                     n_(s),n_(s)+1 M, Calculate noise variance as:

${\sigma_{est}^{2}\left( n_{s} \right)} = \frac{\sum\limits_{i = n_{s}}^{M}{{sV}(i)}}{M - n_{s} + 1}$

-   -   -   -   -   ii. Calculate the signal power as                     P_(sig)(n_(s))=Σ_(i=1) ^(n) ^(s) ⁻¹(sV(i)−σ_(est)                     ²(n_(s)))                 -   iii. Estimate of SNR:

${{SNR}_{est}\left( n_{s} \right)} = \frac{P_{sig}\left( n_{s} \right)}{\sigma_{est}^{2}\left( n_{s} \right)}$

-   -   -   -   2) An alternative estimate of SNR is obtained through                 other methods (e.g. SNR on chip). One method of                 estimating SNR directly is as follows:                 -   i. If the received data samples (after frequency                     error removal and re-sampling to Tc-spaced samples                     and code de-correlation) are given by X_(i) (where                     the X_(i) are chip-spaced starting from the                     interpolated peak position).                     X _(i) =S+N _(i)                 -   ii. The signal is estimated as

$\hat{S} = {\frac{1}{N}{\sum\limits_{i = 0}^{N - 1}X_{i}}}$

-   -   -   -   -   iii. The noise is estimated as

$\hat{N} = {\frac{1}{N - 1}{\sum\limits_{i = 0}^{N - 1}\left( {X_{i} - \hat{S}} \right)^{2}}}$

-   -   -   -   -   iv. The SNR is estimated as

c = S ^ N ^

-   -   -   -   3) Choose the noise singular values as sV(ns, ns+1, . .                 . , M) which satisfy the following condition:                 n _(start)=[smallest n _(s) :SNR _(est)(n _(s))>                 _(c)]

        -   d) Another method involves determining the noise subspace by             repeatedly estimating the SNR for different partitions of             noise and signal subspaces using c)1) and choosing a             partition n_(start) such that             re _(start)=argmax n _(s)[SNR_(est)(n _(s))−SNR_(est)(n             _(s)−1)]_(n) _(s) ₌₂ ^(K).             -   FIG. 25 is a flow diagram for estimating noise                 sub-space, under yet another alternative embodiment.

        -   e) FIG. 26 is a flow diagram for estimating noise sub-space,             under still another alternative embodiment.             -   1) Define

${wLen} = {\frac{{wL} + {wR}}{f_{s}T_{c}}.}$

-   -   -   -    Then the first wLen singular values represent the                 significant signal-plus-noise subspace or noise subspace                 singular values (the rest of the singular values                 represent correlated noise and signal and quantization                 effects).             -   2) Calculate estimate of SNR as follows:                 -   i. Assume that the noise is represented by the                     sV(i):i=n_(s), n_(s)+1 . . . wLen; 1<n_(s)≦wLen,                     calculate noise variance as:

${\sigma_{est}^{2}\left( n_{s} \right)} = \frac{\sum\limits_{i = n_{s}}^{wLen}{{sV}(i)}}{{wLen} - n_{s} + 1}$

-   -   -   -   -   ii. Calculate the signal power as                     P_(sig)(n_(s))=Σ_(i=1) ^(n) ^(s) ⁻¹[sV(i)−σ_(est)                     ²(n_(s))]                 -   iii. Estimate of SNR:

${{SNR}_{est}\left( n_{s} \right)} = \frac{P_{{sig}\;}\left( n_{s} \right)}{\sigma_{est}^{2}\left( n_{s} \right)}$

-   -   -   -   3) Define n_(start)=[smallest n_(s):                 SNR_(est)(n_(s))>(SNR_(est)(wLen)−thresDB)]. Then                 n_(start) up to winLen represent the noise singular                 values. A typical value of thresDB is 10.

-   12. Choose the corresponding noise right-singular vectors to build     V_(N) i.e. choose all vectors in V which correspond to the noise     singular values and build the noise subspace matrix V_(N).

-   13. Estimate Time of Arrival of the first path:     -   a) Define

${\omega(\tau)} = \begin{bmatrix} 1 & {\mathbb{e}}^{\frac{j2\pi}{N_{fft}}\tau} & {\mathbb{e}}^{\frac{j2\pi}{N_{fft}}2\tau} & {\mathbb{e}}^{\frac{j2\pi}{N_{fft}}3\tau} & \ldots & {\mathbb{e}}^{\frac{j2\pi}{N_{fft}}{({M - 1})}\tau} \end{bmatrix}^{H}$

-   -   b) Calculate

${\Omega(\tau)} = \frac{1}{{\omega(\tau)}^{H}V_{N}V_{N}^{H}{\omega(\tau)}}$

-   -    for a range of values of τ(τε[τ_(max), −τ_(max)]). The         resolution of search Δτ can be chosen as small as required. As         an example, τ_(max)=5 and Δτ=0.05 so that τ is searched for in         the range [−5,5] in steps of 0.05.

-   14. Peaks of Ω(τ) will provide the positions of channel impulses     relative to the coarse peak, n_(peak). Theoretically, first peak     will correspond to LOS path. Based on information about the     propagation environment which could be encoded in the transmission     from the base-station, it is possible to control τ_(max). For     example, if the delay-spread is large, then τ_(max) can be chosen to     be larger (e.g. 10) and if it is less then τ_(max) can be chosen as     a smaller value (e.g. 4).     Combination Methods:     Apart from the standalone methods discussed above, numerous other     combination methods are possible. Combination of schemes based on     SNR on chip is an effective method. The following describes a list     of combination schemes that can be realized in practice:     -   1. For chipSNR less than chipSNRRef, pick method 12(d) to choose         noise singular values. Otherwise choose method 12(a).     -   2. For chipSNR greater than chipSNRRef, pick method 12(d) to         choose noise singular values and estimate peak position.         Otherwise, use direct peak estimation techniques (such as peak         interpolation, peak shape) starting from the cross-correlation         function z[n].     -   3. For chipSNR less than chipSNRRef, pick method 12(e) to choose         noise singular values. Otherwise choose method 12(a).         -   A typical value of chipSNRRef is 10 dB.             Computation of Position

The location of the receiver unit is determined by the positioning engine available either on the terminal unit or the server. The receiver can use the range measurements from the system or combine the system range measurements with any of the measurements from other signals of opportunity. A sufficient set of range measurements yields a position fix provided that the measurements derive from known locations. The range equation in 3D space is given by r _(i)=√{square root over ((x _(i) −X)²+(y _(i) −Y)²+(z _(i) −Z)²)}{square root over ((x _(i) −X)²+(y _(i) −Y)²+(z _(i) −Z)²)}{square root over ((x _(i) −X)²+(y _(i) −Y)²+(z _(i) −Z)²)}.

The location of the transmitters is given by (x_(i), y_(i), z_(i)) and the unknown location of the mobile units is given by (X, Y, Z) in some local coordinate frame. Three or more transmitters produce three or more range measurements that are used to compute a fix. The measurement has a receiver time bias additive term as well, because the receiver time is not synchronized to the WAPS timing. R _(i) =r _(i) +cΔt. This equation is referred to later as “Pseudorange Measurement Equation”. Note that the time bias is common because the transmitters are timing synchronized. The pseudoranges must be corrected for transmit timing corrections which are available from the data stream embedded in the transmission from each transmitter. This delta time bias creates a new unknown parameter, so a minimum of four measurements are used for a solution. A barometric altimeter measurement provides the needed information for a solution as Baro=(z _(b) −Z).

One method of solving these non-linear simultaneous equations is to linearize the problem at an arbitrary initial point and then iteratively finding corrections to this initial position to iteratively leads to the final solution.

This method uses an initial guess for the X, Y, Z solution, so the centroid of the transmitters is used as

$\left( {X_{0},Y_{0},Z_{0}} \right) = {\left( {1/n} \right){\sum\limits_{i = 1}^{n}\;{\left( {x_{i},y_{i},z_{i}} \right).}}}$ The final position solution is assumed to be of the form (X,Y,Z,Δt)=(X ₀ ,Y ₀ ,Z ₀ ,Δt ₀=0)+(dX,dY,dZ,dΔt) The geometric range can be expanded in a Taylor series about (X,Y,Z,Δt)=(X₀,Y₀,Z₀, Δt₀)

$\begin{matrix} {R_{t} = {\sqrt{\left( {x_{i} - X} \right)^{2} + \left( {y_{i} - Y} \right)^{2} + \left( {z_{i} - Z} \right)^{2}} + {c\;\Delta\; t}}} \\ {= {\sqrt{\left( {x_{i} - X_{0}} \right)^{2} + \left( {y_{i} - Y_{0}} \right)^{2} + \left( {z_{i} - Z_{0}} \right)^{2}} + {c\;\Delta\; t_{0}} +}} \\ {{{{{{{\frac{\partial r}{\partial x}}_{({X_{0},Y_{0},Z_{0},{\Delta\; t_{0}}})}{\mathbb{d}X}} + \frac{\partial r}{\partial y}}}_{({X_{0},Y_{0},Z_{0},{\Delta\; t_{0}}})}{\mathbb{d}Y}} + \frac{\partial r}{\partial z}}}_{({X_{0},Y_{0},Z_{0},{\Delta\; t_{0}}})} \\ {{\mathbb{d}Z} + {{cd}\;\Delta\; t}} \\ {{{{{{{{= {{\hat{r}}_{i} + \frac{\partial r}{\partial x}}}}_{({X_{0},Y_{0},Z_{0},{\Delta\; t_{0}}})}{\mathbb{d}X}} + \frac{\partial r}{\partial y}}}_{({X_{0},Y_{0},Z_{0},{\Delta\; t_{0}}})}{\mathbb{d}Y}} + \frac{\partial r}{\partial z}}}_{({X_{0},Y_{0},Z_{0},{\Delta t}_{0}})} \\ {{\mathbb{d}Z} + {{cd}\;\Delta\; t}} \end{matrix}$ where the estimated ranges are computed as {circumflex over (r)} _(i)=√{square root over ((x _(i) −X ₀)²+(y _(i) −Y ₀)²+(z _(i) −Z ₀)²)}{square root over ((x _(i) −X ₀)²+(y _(i) −Y ₀)²+(z _(i) −Z ₀)²)}{square root over ((x _(i) −X ₀)²+(y _(i) −Y ₀)²+(z _(i) −Z ₀)²)}. and the partial derivatives are given by ∂R/∂x=∂r/∂x=(x _(i) −X)/r _(i) ∂R/∂Δt=c ∂R/∂y=∂r/∂y=(y _(i) −Y)/r _(i) ∂R/∂z=∂r/∂z=(z _(i) −Z)/r _(i).

In this embodiment, four linear equations with four unknowns are shown. Additional range estimates would produce more rows in the matrix. The result is the set of equations

${\begin{bmatrix} {\left( {x_{1} - X_{0}} \right)/{\hat{r}}_{1}} & {\left( {y_{1} - X_{0}} \right)/{\hat{r}}_{1}} & {\left( {z_{1} - Z_{0}} \right)/{\hat{r}}_{1}} & 1 \\ {\left( {x_{2} - X_{0}} \right)/{\hat{r}}_{2}} & {\left( {y_{2} - Y_{0}} \right)/{\hat{r}}_{2}} & {\left( {z_{2} - Z_{0}} \right)/{\hat{r}}_{1}} & 1 \\ {\left( {x_{3} - X_{0}} \right)/{\hat{r}}_{3}} & {\left( {y_{3} - Y_{0}} \right)/{\hat{r}}_{3}} & {\left( {z_{3} - Z_{0}} \right)/{\hat{r}}_{1}} & 1 \\ 0 & 0 & 1 & 0 \end{bmatrix} \times \begin{bmatrix} {\delta\; X} \\ {\delta\; Y} \\ {\delta\; Z} \\ {c\mspace{14mu}\delta\;\Delta\; t} \end{bmatrix}} = \begin{bmatrix} {R_{1} - {\hat{r}}_{1}} \\ {R_{2} - {\hat{r}}_{2}} \\ {R_{3} - {\hat{r}}_{3}} \\ {z_{b} - Z_{0}} \end{bmatrix}$ The last row of the observation matrix represents the barometric altimeter measurement. The column of three 1 represents the same time bias on all three ranges. These equation are in the form of Ax=b. The solution x=A⁻¹*b. Note that in the absence of a barometer measurement, one more additional measurement would add an additional row similar to rows 1 to 3 of the matrix above. This additional measurement would enable estimation of the altitude of the receiver. Note that when there are more measurements available than the number of unknowns, then the solution would be based on the pseudoinverse of A given by A₊=(A^(T)A)⁻¹A^(T) and the least square solution is given by x=A₊ ⁻¹b. When the quality of measurements are not equal, the optimal way of solving the equations Ax=b in the least square sense is to use a weight proportional to the SNR for the error from each equation. This leads to a solution x=A₊ ⁻¹b with A₊=(A^(T)WA)⁻¹A^(T)W. The diagonal weighting matrix W formed by the weight proportional to the noise variance of the measurements. The solution of these equations produces a delta correction to the X, Y, Z and delta time estimates, such that

$\begin{bmatrix} X_{1} \\ Y_{1} \\ Z_{1} \\ {\Delta\; t_{1}} \end{bmatrix} = {\begin{bmatrix} X_{0} \\ Y_{0} \\ Z_{0} \\ {\Delta\; t_{0}} \end{bmatrix} + {\begin{bmatrix} {\delta\; X} \\ {\delta\; Y} \\ {\delta\; Z} \\ {\delta\;\Delta\; t} \end{bmatrix}.}}$

This completes the first iteration of the method. The updated position and time bias estimates replace initial guess and the algorithm continue until the delta parameters are below some threshold value. A typical stopping point would be for the norm of the delta values are below a certain threshold (for example, one meter).

The system of linearized equations in the GPS is solved using least squares and an initial guess about the location of the user such that the algorithm converges to the final user location. The linearization is based on the fundamental assumption that the distance between the satellites and the user position is larger than the distance between the user position on the earth and the guessed position. For the same set of equations to work in a terrestrial environment (with small geometry), the initial guess can be based on the centroid (as above), a point close to the transmitter from which the received signal is the strongest, or obtained by a direct method which gives a closed form solution by means of a sequence of formulae with no iterations. When the initial guess is a centroid or a point close to the transmitter from which the received signal is the strongest, the initial guess is improved using a least squares method. When the initial guess is obtained by a direct method which gives a closed form solution by means of a sequence of formulae with no iterations, the initial solution itself is the final solution and it is improved using least squares only when there are more measurements (and hence equations) than unknowns with individual measurements weighted by using the expected errors in those measurements (which are obtained from such parameters as signal strength and elevation angle). Further, if a sequence of measurements is to be processed in time, a solution obtained as above may be fed to a Kalman filter to obtain an optimal solution “trajectory”.

Another approach that overcomes the linearization problem in terrestrial cases involves formulating the set of equations as a non-linear minimization problem (specifically as a weighted non-linear least squares problem). Specifically, the non-linear objective function to be minimized is defined as

${f\left( {X,Y,Z,{\Delta\; t}} \right)} = {\sum\limits_{i = 0}^{N - 1}\;{W_{i} \times \left\lbrack {R_{i} - \sqrt{\left( {x_{i} - X} \right)^{2} + \left( {y_{i} - Y} \right)^{2} + \left( {z_{i} - Z} \right)^{2}} - {\Delta\; t}} \right\rbrack^{2}}}$ The weights W_(i) are chosen to be inversely proportional to the SNR of the measured ranges R_(i). The best estimate of the receiver location is obtained as the set of (X,Y,Z,Δt) that minimizes the objective function. When barometer or other altitude aiding is available then the objective function gets modified to

${f\left( {X,Y,{Z = Z_{baro}},{\Delta\; t}} \right)} = {\sum\limits_{i = 0}^{N - 1}\;{W_{i} \times \left\lbrack {R_{i} - \sqrt{\left( {x_{i} - X} \right)^{2} + \left( {y_{i} - Y} \right)^{2} + \left( {z_{i} - Z_{baro}} \right)^{2}} - {\Delta\; t}} \right\rbrack^{2}}}$

The position solution based on this method will be more stable and robust, particularly under small geometry terrestrial system configuration. In this configuration, small changes in receiver coordinates significantly changes the observation matrix and sometimes leads to lack of convergence of the linearized iterations. Convergence to a local minimum or divergence occurs more often due to residual bias in the measurements which affects the shape of the objective function so that local minima can be present. Residual bias can be quite common in indoor/urban canyon environments. The non-linear formulation above makes the position algorithm robust to measurement bias besides overcoming the small geometry linearization problem.

One approach to perform the minimization of the function fto obtain optimal X, Y, Z is to use a genetic algorithm (such as differential evolution) to find the global minimum of the function. The use of such an algorithm enables the solution to avoid local minima that occur in small geometry terrestrial positioning when multi-path bias is present in the range measurements.

Irrespective of whether linearized least squares or non-linear least squares method is used to solve the pseudo-range measurement equations, it is important for a quality metric to be provided along with a position estimate. The position quality metric should be a function of the pseudo-range measurement equation residuals, the quality of the measurements as well as the geometry of the towers relative to the estimated position. The pseudo-range measurement residual for the ith tower measurement is given by PR _(res,i) =R _(i)−(√{square root over ((x _(i) −X)²+(y _(i) −Y)²+(z _(i) −Z)²)}{square root over ((x _(i) −X)²+(y _(i) −Y)²+(z _(i) −Z)²)}{square root over ((x _(i) −X)²+(y _(i) −Y)²+(z _(i) −Z)²)}+cΔt) The average weighted rms pseudo-range residual is given by

${PR}_{res} = \sqrt{\left( \frac{\sum\limits_{i}\;{W_{i} \times {PR}_{{res},i}^{2}}}{\sum\limits_{i}\; W_{i}} \right)}$ The HDOP, VDOP, PDOP are defined from the diagonal elements of H=(A^(T)A)⁻¹A^(T) as HDOP=√{square root over (H(1,1)+H(2,2))}{square root over (H(1,1)+H(2,2))} VDOP=H(3,3) PDOP=√{square root over (H(1,1)+H(2,2)+H(3,3))}{square root over (H(1,1)+H(2,2)+H(3,3))}{square root over (H(1,1)+H(2,2)+H(3,3))}

The pseudo-range RMS (root-mean-square) error at a particular SNR is given by PRE_(th)=ƒ(√{square root over (SNR)}) where ƒ is generally a non-linear monotonic decreasing function of its argument. The function ƒ can be derived analytically for a particular receiver configuration as a function of signal BW and receiver BW or alternatively, found from simulation as a table mapping SNR to range error. The quality metric for 2-D position is defined as QM _(2-D)=HDOP×√{square root over (PR _(res) ² +PRE _(th) ²)}×α Similarly, the quality metric for the altitude and 3-D position is given by QM _(alt)=VDOP×√{square root over (PR _(res) ² +PRE _(th) ²)}×α QM _(3-D)=PDOP×√{square root over (PR _(res) ² +PRE _(th) ²)}×α The quantity α is chosen based on the level of confidence desired. For example, a value of 3 would be used to obtain 95% confidence, while a value of 1 would be used for 68% confidence.

Another method of positioning using the WAPS system involves the use of a WAPS reference receiver in a differential scheme. As shown in “Differential Wide Area Positioning System” and discussed in the context of timing synchronization, the time-stamped reference receiver measurements along with the latitude, longitude, altitude of the WAPS towers and the reference receiver can be used to determine the timing delta between WAPS tower transmissions at the specific time-stamp. Once the timing delta between transmitters is known, the range equations can be reduced to have a single common time bias again. The WAPS receiver then can avoid demodulation of the WAPS data stream (for example, to extract the timing corrections from the data stream). The WAPS receiver measurements can be sent to the server and the position can then be computed at the server or, alternatively, the reference receiver measurements can be relayed to the WAPS receiver and the position can be computed there. It is assumed that the latitude, longitude and altitude of the WAPS towers is already known/available for use in the position computation. In the case that the WAPS data stream is secure, this differential system can avoid the need to extract data from the secure data stream for timing correction purposes.

Another alternative method for obtaining positioning from the WAPS system uses RSSI finger-printing techniques. A database of WAPS tower transmit powers/locations and RSSI levels is built up for a given target area based on training measurements in the area for which positioning is required. Note that RSSI database can also be augmented with Angle of Arrival (AOA) information to improve the solution. The WAPS receiver RSSI measurements (and possibly AOA measurements) are then used to look up this database to obtain a location estimate. An alternative method of using the WAPS RSSI measurements would be to translate the measurements into a range estimate using a propagation model (or simple extrapolation/interpolation techniques) and then use tri-lateration to determine the position. Note that the RSSI measurements in these finger-printing techniques can be replaced by any other measurements that can be translated to range.

An alternative method of computing position using the WAPS infrastructure uses a blind method for obtaining positioning from the WAPS system without prior knowledge of the WAPS tower locations. In this method, the approximate location of the WAPS towers are determined by field measurement (for example, by measuring RSSI from many angles around the WAPS tower at GNSS tagged locations and then using a weighted average based on RSSI of these locations to estimate WAPS tower locations). Then, any of the RSSI finger-printing methods can be used to determine position (for example, as described in the above paragraph).

An alternative method of computing position using the WAPS infrastructure can be used for computing position offline. The position computation involves storing the sample segments of the WAPS signal (for example, the stored data maybe I data at low IF or IQ data at baseband) from the WAPS receiver along with optionally an approximate position and a WAPS time tag. Note that it is enough to store enough samples to be able to acquire the signal. The samples are processed at a later time to search, acquire and compute range to WAPS towers. The method may use offline data to look-up tower locations and timing correction information that may be stored in a central database on a server. This method of offline position computation provides the ability to support WAPS positioning at the cost of only memory on the device. The other advantage of this method is the time taken for storing the WAPS IQ data is very short, making it convenient for applications that need to tag position quickly, but the exact position is not required instantaneously. One possible application for this method can be for geo-tagging of photographs.

Another approach to positioning uses carrier phase measurements in addition to the code phase measurements indicated above. The carrier phase measurements can be written as: φ_(i)(t ₀)=r _(i)(t ₀)+N _(i) λ+Δt Various techniques can be used to resolve the integer ambiguity N_(i) in the carrier phase measurements. Code phase measurements, measurements at multiple frequencies and/or other methods can be used to resolve the ambiguities. Subsequently, the carrier phase measurements at time t_(k) can provide accurate tracking of position starting from an accurate initial position. The carrier phase measurements at future times can be written as φ_(i)(t _(k))=r _(i)(t _(k))+N _(i) λ+Δt

The N_(i) do not change as long as the carrier phase measurements do not have cycle slips (i.e. the signals should be tracked with continuous phase lock) and the new locations can be computed using least squares. Alternatively, these measurements can be used in a Kalman filter to update the new position state. If phase lock is lost, new values of integer ambiguity need to calculated.

Another approach uses differential positioning relative to a reference receiver as described above. Differential positioning can be done using either code or carrier measurements or a combination of both. Single difference observables are computed for code and carrier phase by subtracting measurements of the same towers from reference receiver r and receiver s as

$\mspace{79mu}{R_{sr}^{i} = {\underset{\underset{{geometrical}\mspace{14mu}{range}\mspace{14mu}{difference}}{︸}}{\rho_{s}^{i} - \rho_{r}^{i}} + \underset{\underset{{time}\mspace{14mu}{difference}\mspace{14mu}{between}\mspace{14mu}{clocks}}{︸}}{c\left( {{\mathbb{d}t_{s}} - {\mathbb{d}t_{r}}} \right)} + \left( {ɛ_{R,s} - ɛ_{R,r}} \right)}}$ $\Phi_{sr}^{i} = {\underset{\underset{{geometrical}\mspace{14mu}{range}\mspace{14mu}{difference}}{︸}}{\rho_{s}^{i} - \rho_{r}^{i}} + \underset{\underset{{time}\mspace{14mu}{difference}\mspace{14mu}{between}\mspace{14mu}{clocks}}{︸}}{c\left( {{\mathbb{d}t_{s}} - {\mathbb{d}t_{r}}} \right)} + \underset{\underset{{integer}\mspace{14mu}{ambiguity}\mspace{14mu}{in}\mspace{14mu}{phase}\mspace{14mu}{measurement}}{︸}}{\lambda\left( {N_{s}^{i} - N_{r}^{i}} \right)} + {\left( {ɛ_{\phi,s} - ɛ_{\phi,r}} \right).}}$

Note that any timing error in the transmitter does not appear in these observables and thus allows position solutions even when the system is asynchronous or imperfectly synchronized. In addition, any tropospheric delay error in measurements nearly cancels out since the tropospheric delay is likely to be correlated in the local area for short baselines (ie.g., distances between reference receiver r and receiver s). A communication channel is used to send the range and carrier measurements from the reference receiver r to the receiver s for position computation. Or, alternatively, the receiver s and receiver r need to communicate the range and carrier to the server for position computation.

In any position solution method, the height of a receiver can be determined using placement on a terrain map or barometric sensing. Using placement on a map, during trilateration the location of the user can be constrained to be on a terrain based on a terrain database and the height of the user determined. The height of the user can also be constrained to be within a certain height above the terrain. For example, based on the tallest building in the area, the maximum altitude above terrain can be constrained. This type of constraint can improve the quality of the height solution (for example, by eliminating the ambiguous solution that is sometimes produced when using biased range measurements).

In addition, if indoor building maps are available, the information (along with associated constraints on possible user locations) can be used to aid the position solution For example, physical restrictions can be used to constrain the user motion model, and thereby improve the quality of the tracking Kalman position filter. Another usage of building maps is to determine/estimate the quality of a particular tower's range measurement based on the physical environment from the tower to the indoor location. A better estimate of range quality can be used to weight the position computation leading to better position estimates.

When using a barometric sensor, a calibrated barometric sensor can be used to measure the pressure differences as the receiver terminal is moved up or down in altitude. This is compared with a calibrated value for the pressure on different altitudes or an average value to determine the height of the receiver.

In computing the position solution, when additional measurements greater that the minimum three measurements required for two-dimensional position are available, receiver integrity monitoring based on a check of consistency of measurements is used to eliminate “outlier” measurements. The “outlier” measurements could be due to loss of timing synchronization at the transmitter or due to the channel effects such as multipath.

Altimeter-Based Approach for Determining Elevation

The WAPS system of an embodiment includes altimeters (pressure sensor) to aid in the determination of user elevation. The only information available from a pressure sensor is the atmospheric pressure at the time and place of the measurement. In order to translate this into an estimate of the elevation of the sensor, a number of additional pieces of information are required. There is a standard formula for relating pressure to elevation, based upon the weight of a column of air, as follows:

${z_{1} - z_{2}} = {{- \frac{RT}{g}}{\ln\left( \frac{P_{1}}{P_{2}} \right)}}$ where z₁ and z₂ are two elevations, and P₁ and P₂ are the pressures at those elevations, and T is the temperature of the air (in K). R=287.052 m²/Ks² is the gas constant and g=9.80665 m/s² is the acceleration due to gravity. Note that this formula provides relative information, determining the difference in elevation for a difference in pressure. This formula is generally used with z₂=0, so that P₂ is the sea level pressure. Because sea level air pressure varies significantly with weather conditions and with location, the sea level pressure is needed in addition to the temperature and pressure at the site where elevation is to be determined. When applying standard atmosphere conditions, with T=15 C and P=101,325 Pa, it is found that a 1 m increase in elevation corresponds to a 12.01 Pa decrease in pressure.

Thus, to determine elevation with a resolution of 1 m, sea level pressure must be known with accuracy significantly finer than 36 Pa. It is also worth noting that because T is measured in Kelvin, a 3° C. (or K) error in temperature will correspond to approximately a 1% error in elevation. This can become significant when determining elevation significantly above sea level, and when trying to resolve upper floors in a high rise building. Thus, for determining elevation with a resolution of 1 m, pressure sensors with high accuracy and resolution are needed. In order to fit in a mobile device, these sensors should be low cost, low power and small size. Note that commercial weather grade sensors do not provide this level of accuracy or resolution and are not updated at a rate required for determining elevation.

The key to determining elevation to 1 m accuracy is to have a system for providing reference pressure information that is local enough and accurate enough. It must be able to provide measurements that are close to the unknown location in temperature, and close in distance and time—to capture changing weather conditions; and finally, must be sufficiently accurate. Thus, the elevation determining system of an embodiment includes but is not limited to the following elements: a mobile sensor that determines pressure and temperature at the unknown location with sufficient accuracy; an array of reference sensors that determine pressure and temperature at known locations with sufficient accuracy, and are sufficiently close to the unknown location; an interpolation-based estimation algorithm which inputs all reference sensor data, reference sensor locations and other augmenting information, and generates an accurate reference pressure estimation at a location of interest within the WAPS network; a communications link between the reference sensors and the mobile sensors to provide the reference information in a sufficiently timely fashion. Each of these elements is described in detail below.

FIG. 27 is a block diagram of a reference elevation pressure system, under an embodiment. Generally, the reference elevation pressure system, or reference system, includes a reference sensor array comprising at least one set of reference sensor units. Each set of reference sensor units includes at least one reference sensor unit positioned at a known location. The system also includes a remote receiver comprising or coupled to an atmospheric sensor that collects atmospheric data at a position of the remote receiver. A positioning application running on a processor is coupled to or is a component of the remote receiver. The positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from the reference sensor unit(s) of the reference sensor array. The positioning application computes an elevation of the remote receiver using the reference pressure estimate.

More specifically, the reference elevation pressure system includes a mobile sensor that determines pressure and temperature at the unknown location with sufficient accuracy, and the mobile sensor is a component of or coupled to the remote receiver. The system includes a reference sensor array that comprises at least one reference sensor unit that accurately determines pressure and temperature at a known location that is appropriate to a location of the remote receiver. The reference sensor units communicate with the remote receiver and/or an intermediate device (e.g., server, repeater, etc.) (not shown) to provide the reference information. The system comprises a positioning application that, in an embodiment, is an interpolation-based estimation algorithm which inputs all reference sensor data, reference sensor locations and other augmenting information, and generates a relatively accurate reference pressure estimation at a location of interest. The positioning application can be a component of the remote receiver, can be hosted on a remote server or other processing device, or can be distributed between the remote receiver and a remote processing device.

FIG. 28 is a block diagram of the WAPS integrating the reference elevation pressure system, under an embodiment. As described herein, the WAPS includes a network of synchronized beacons, receiver units that acquire and track the beacons and/or Global Positioning System (GPS) satellites (and optionally have a location computation engine), and a server that comprises an index of the towers, a billing interface, a proprietary encryption algorithm (and optionally a location computation engine). The system operates in the licensed/unlicensed bands of operation and transmits a proprietary waveform for the purposes of location and navigation purposes. The WAPS system can be used in conjunction with other positioning systems or sensor systems in order to provide more accurate location solutions. Note that the elevation of the remote receiver computed using the reference pressure estimate can be used either explicitly as an altitude estimate or implicitly to aid the position calculation in any position location system.

One example system integrates the reference elevation pressure system with the WAPS. Generally, the integrated system comprises a terrestrial transmitter network including transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a reference sensor array comprising at least one reference sensor unit positioned at a known location. The remote receiver comprises or is coupled to an atmospheric sensor that collects atmospheric data at a position of the remote receiver. A positioning application running on a processor is coupled to or is a component of the remote receiver. The positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from a set of reference sensor units of the reference sensor array. The positioning application computes the position of the remote receiver, which includes an elevation, using the reference pressure estimate and information derived from at least one of the positioning signals and satellite signals that are signals of a satellite-based positioning system.

More specifically, this integrated system includes a mobile sensor that determines pressure and temperature at the unknown location with sufficient accuracy. The mobile sensor is a component of or coupled to the remote receiver, but is not so limited. The system includes a reference sensor array that comprises at least one reference sensor unit that accurately determines pressure and temperature at a known location that is appropriate to a location of the remote receiver. The reference sensor units communicate with the remote receiver and/or an intermediate device (e.g., server, repeater, etc.) (not shown) to provide the reference information. The reference sensor units can be collocated with one or more WAPS transmitters and/or can be separately located at other known locations. The system comprises a positioning application that, in an embodiment, is an interpolation-based estimation algorithm which inputs all reference sensor data, reference sensor locations and other augmenting information, and generates a reference pressure estimation at a location of interest. The positioning application can be a component of the remote receiver, can be hosted on the WAPS server or other processing device, or can be distributed between the remote receiver and the WAPS server.

As noted above, the mobile sensor should be able to determine pressure with a resolution and accuracy that is significantly finer than 36 Pa, Many pressure sensors have built-in temperature sensors in order to provide compensation for non-ideal sensor performance, but due to self-heating effects, these sensors may not provide a sufficiently accurate measure of outside air temperature. Even in cases where accurate sensors are not available commercially, if sensors with adequate resolution are available, they can be used for the purposes of altitude estimation at the floor level. The mobile sensor of an embodiment determines the reference pressure data with a resolution approximately less than 36 Pascal, and determines the temperature data with a resolution at least one of equal to and less than approximately 3 degrees Celsius.

These sensors have inherent short term and long term stability issues which may be corrected by modest filtering techniques such as averaging a few samples. Each sensor may also have an offset that may vary with temperature which needs to be calibrated or compensated by means of a look up table, for example.

With sufficient calibration, these sensors should provide the accuracy needed. Some sensors may also be sensitive to high rates of motion. Some heuristic rules may be used to limit use of pressure information when high velocities or acceleration are recognized. However, high velocities are rarely experienced in indoor environments. When traveling at high speeds, GPS positioning and map data will typically provide sufficient vertical position information.

It should also be noted that the sensor should be mounted in a manner that exposes it to outside air, but not wind, draft, or other air movement. A mounting or positioning internal to a typical consumer product should produce acceptable results. The battery compartment and connectors provide an indirect path for outside air to get to the sensor, while preventing any direct air movement. However, a water proof device would need special provisions to provide the sensor with access to the outside.

The reference sensors will be deployed in much smaller volumes, and at dedicated sites, so relatively better accuracy can be obtained in the reference system, making it possible to allocate the bulk of the overall error budget to the mobile sensors. Existing markets for absolute pressure sensors, such as weather and aircraft altimeters, do not have the same high accuracy requirements as the application of an embodiment. In the reference application, an embodiment uses multiple sensors, both for redundancy and for improved accuracy by averaging their measurements. In addition, the sensors may be packaged so as to limit the temperature range to which the sensor is exposed and optimally calibrate the sensor for this limited temperature range.

The reference system should average or otherwise filter individual measurements to improve accuracy with a time scale in the order of a few seconds to a few minutes. The height of the reference sensor should be measured to a ‘cm’ level accuracy; the outside air temperature should be continuously measured and logged; the sensor should be exposed to outside air in order to measure the air pressure, but must not be subject to wind, drafts, or other significant air movement (baffles or other packaging can be used to direct air along an indirect path to the sensor); the sensor should not be sealed in a water proof enclosure, as this can prevent measurement of outside air pressure. The reference sensor of an embodiment determines the reference pressure data with a resolution approximately less than 36 Pascal, and determines the temperature data with a resolution at least one of equal to and less than approximately 3 degrees Celsius.

An embodiment enables interpolation-based reference pressure estimation. Given the pressure and temperature measurements at each WAPS transmitter tower, as well as the tower location and other augmenting information, an embodiment predicts the sea level atmospheric pressure at the mobile user location as the reference value for user height estimation. Therefore, an atmospheric pressure surface gradient model is generated and the pressure measurements at each tower site serve as the sample data for local modification of the model. Therefore, this estimation algorithm calibrates comparable reference pressure accuracy at the user location as the direct measurements captured at the beacon tower.

A description of a formulation of this interpolation is described below. Within one of the WAPS network, given reference barometric pressure sensors at n transmitter towers, the equivalent sea level atmospheric pressure is estimated based on the reference sensor outputs. This is done in two steps, but is not so limited.

As a first step, given the reference sensor height h_(i) (in meters) above sea level at transmitter tower i, and the pressure p_(i) (in Pascal) and temperature T_(i) (in Kelvin) readings from the reference sensor, the equivalent sea level atmospheric pressure P_(i) (in Pascal) is calculated at location with latitude x_(i) and longitude y_(i) (in degrees), using the formula below:

$P_{i} = {p_{i}{\mathbb{e}}^{\frac{{gh}_{i}}{{Rt}_{i}}}}$ where g is the gravitational acceleration constant and R is the specific gas constant for air. As a second step, after calculating the equivalent sea level atmospheric pressures at all n transmitter locations of the WAPS network, and obtaining the latitude x₀ and longitude y₀ information of the user with WAPS, the equivalent sea level pressure is estimated at the user location P₀ with the formula below:

$P_{0} = {\sum\limits_{i = 1}^{n}\;{W_{i}P_{i}}}$ where W_(i)=W_(i)(x₀, y₀, x_(i), y_(i)) is the weighting function depending on both the user location and the reference site i location.

The communications link of an embodiment provides the information used by the mobile sensor. An embodiment broadcasts pressure updates once every few seconds to few minutes but is not so limited.

If the reference system broadcasts reference information infrequently, the mobile unit performs at least one of the following: continuously monitors the broadcasts to receive and store the last information in case it is needed before the next broadcast; waits for the next broadcast before computing a new elevation; “pulls” or queries the reference system for the latest information when needed. The Pull approach of an embodiment, rather than having the reference systems broadcast the information, minimizes system bandwidth. However, the Pull uses two-way communications between the reference system and the mobile, and since multiple reference sites would be used for any mobile calculation, so it requires the mobile to determine which reference sites it should query. A good compromise to minimize monitoring by the mobile, while keeping latency low, has the reference system broadcast its data more frequently than the time it takes to update the measurement.

An embodiment includes two possible approaches for the information content. A first approach has the mobile perform all of the calculations, in which case the information sent by the reference includes but is not limited to the following: reference location (latitude and longitude) with one meter accuracy; height of reference sensor with 0.1-0.2 m accuracy; measured temperature of air at reference site (after some filtering); measured pressure of air at reference site (after filtering, sensor temperature compensation, and any other local calibration such as offset), with one Pa accuracy; and a measure of confidence.

Alternatively, the reference site can use its temperature and pressure measurements to compute an equivalent sea level pressure. If this approach is used, the list of information to be broadcast includes but is not limited to the following: reference location (latitude and longitude) with one meter accuracy; height of reference sensor with 0.1-0.2 m accuracy; computed equivalent sea level pressure at reference site (with one Pa accuracy); a measure of confidence.

An embodiment also reduces the bits of data transmitted but broadcasts each piece of data relative to some known constant. For example, the reference sites are relatively close to the mobile site, so only the fractional degrees of latitude and longitude may be transmitted, leaving the integer part to be assumed. Similarly, air pressure, although typically on the order of 10⁵ Pascals, only varies by a few thousand Pa from the standard atmosphere. Thus, an embodiment broadcasts the offset from standard atmospheric pressure to reduce the bandwidth over broadcasting the absolute pressure.

Latitude and longitude, as obtained from GPS or similar systems, are not particularly useful in urban applications. Instead a database is needed to map latitude and longitude into street addresses. Elevation has a similar limitation in the vertical dimension. The useful parameter is which floor a person is on. This can be determined accurately from elevation information if there is access to a database of the ground level elevation and the height of each floor in a building. For low buildings up to approximately 3 stories, it may be sufficient to know ground level elevation from mapping or similar databases, and estimate floor height. For taller buildings more accurate information about floor height will be needed.

This presents an opportunity to implement smart learning algorithms. For example, one can assume that cell phones will be carried between 1 m and 2 m from the floor. Thus, the system of an embodiment can accumulate the elevations of many cell phones in a building, wherein the data is expected to cluster around 1.5 m from each floor. With enough data, it is possible to develop confidence as to the height of each floor in the building. Thus, the database could be learned and refined over time. Such an algorithm becomes more complicated in buildings with ramps, or mezzanines between floors, but may still generate useful data for the majority of buildings.

The sensor offsets, and potentially other parameters, can be calibrated at the time of manufacture. This should be possible by cycling the sensors through a range of temperature and pressure with a known good sensor providing reference information. It is likely that these calibration parameters will slowly drift with age. Therefore, an embodiment uses an algorithm to gradually update the calibration over time (e.g., algorithm recognizes when a sensor is stationary at a known height and updates the calibration table under those conditions).

In addition to the general application of determining a person's location, an embodiment may include specialized applications that use more precise relative elevation information, while not needing absolute elevation information. For example, finding a downed firefighter in a building requires that the position of the downed person relative to the rescue party be known precisely, but neither absolute position is as important. Additional precision in relative positioning would be possible by having an extra manual step at the beginning of the application. For example, all firefighters could initialize there trackers at a known location, such as the entrance to the building, before they enter. Their position relative to that point, and thus relative to each other could be determined quite accurately for a period of time, even if absolute elevation is not accurate, and weather related pressure changes cannot be completely compensated for. Similarly, a shopping related application that requires more precision than available from the absolute measurements could be implemented by having the user press a button at a known point in the mall. Their position relative to that point could then be determined quite accurately for a period of time.

Alternatively, a mobile beacon can be utilized as a local reference to provide more accuracy in a particular location. For example, a shopping mall could have its own reference sensor, to provide more accuracy within the mall. Similarly, a fire truck could be equipped with a reference sensor to provide local reference information at the scene of a fire.

Low cost pressure sensors have a problem in that they have an offset from the correct reading. Experiments have shown that this offset is quite stable on time scales of weeks to months. However, it is likely that this offset will slowly drift with time over a period of many months to years. While it is straightforward to measure this offset, and compensate for it at the time of manufacture, it is unlikely that the compensation will stay accurate for the life of the product. Therefore, a means of recalibrating in the field is required.

The sensor of an embodiment can be recalibrated if it is at a known elevation and the atmospheric pressure is known. The embodiment identifies practical situations where the sensor will be at a known elevation. For example, if the sensor is in a device that has GPS capability, and the GPS satellites are being received with high signal strength, the GPS derived altitude should be quite accurate. Accumulating the deviations from GPS altitude over time, under good signal conditions, can provide an estimate of the correction needed to the sensor calibration.

Similarly, the sensor system can learn the user's habits and use this information to later correct the calibration. For example, if the user consistently places her phone in one place at night, the sensor can start tracking the altitude at this location, perhaps at specific times, such as late night. Initially, these values would be accumulated and stored as the true altitude at that location. After several months, when the sensor determines that it is in the same location at the same time of night, it could start to track deviations from the true altitude determined earlier. These deviations could then be accumulated to slowly generate a correction to the calibration. Because these approaches also use knowledge of current atmospheric pressure, they use reference pressure measurements provided by the WAPS network.

The standard process for determining altitude from pressure readings involves converting the measurements at a reference location to the equivalent sea level pressure, and then using that to determine the altitude of the unknown pressure sensor. The standard formula is:

$z = {{- \frac{RT}{g}}{\ln\left( \frac{P}{P_{0}} \right)}}$ Note that a minus sign has been added, since height is conventionally measured as positive moving away from the surface of the earth. In addition, the logarithm has been corrected to ‘ln’ since this is a natural logarithm. This formula relates, z, the height above sea level, to the atmospheric temperature (T) and pressure (P) at that point, and the sea level air pressure (P₀) below that point.

One additional problem with applying this formula is that the height is directly proportional to the temperature, a measured quantity not known precisely. This means that a 1% error in temperature will result in a 1% error in height. When used near sea level this will not be a significant problem. However, when this formula is applied in tall buildings and especially in higher elevation areas, such as Denver, a 1% error in height may be significant when attempting to resolve floor level elevation. For example, the elevation of Denver is about 1608 m. Thus, a 1% error in temperature will result in an error in height above sea level of 16 m. This is nearly 5 floors.

One way to avoid this sensitivity to temperature accuracy is to recognize that the formula above is actually a relative formula. That is the formula can be generalized to:

${z_{1} - z_{2}} = {{- \frac{RT}{g}}{\ln\left( \frac{P_{1}}{P_{2}} \right)}}$ where z₁ and z₂ are any two elevations, and P₁ and P₂ are the pressures at those elevations. It was only a matter of convention that z₂ was set to 0, and thus P₂ became the sea level pressure.

Instead of using sea level as the reference point, any convenient elevation could be used. For example, the mean elevation of the city would be reasonable, or the mean elevation of the reference sensors used for collecting pressure data would work. As long as a reference elevation is used that keeps the height differences small, the impact of temperature error will be insignificant. The only requirement is that all devices involved in the system know what reference elevation is being used.

There is a standard formula that relates elevation of a point above the earth (z), the atmospheric temperature (T) and pressure (P) at that point, and the sea level air pressure (P₀) below that point as

$z = {\frac{RT}{g}{\log\left( \frac{P}{P_{0}} \right)}}$ This formula assumes that there is a column of air at constant temperature between sea level and the point of interest. Therefore, the sea level pressure used is a virtual construct, and not necessarily the real pressure at sea level, since the point of interest may not be near a true sea level.

The standard process for determining elevation of an object is a two step process. First sea level pressure is determined by measuring temperature and pressure at a point of known elevation, and then inverting this formula to solve for P₀. Next, the temperature and pressure at the point of unknown elevation are measured, and this formula is applied to determine the unknown elevation.

Implicit in this process is the assumption that only parameter of interest is the height of other objects above the same horizontal location, as is typical for aircraft approaching an airfield, using measurements at the airfield for reference. Typically, people interested in height determination for other purposes have extended this concept to determining the height in the general vicinity of a reference location, but not directly above it. This extension assumes that the sea level pressure does not change between the location of interest in the vicinity and the reference location.

Thus, there are three assumptions in this process. A first assumption is that the temperature is constant from the reference location to the virtual sea level point below it. A second assumption is that the temperature is constant from the point of interest to the virtual sea level point below it. A third assumption is that the sea level pressure is the same at the reference location and the point of interest. However, since sea level pressure depends upon temperature, assuming that the sea level pressure is the same at two locations implies that the temperature is the same at those locations. Thus, if different temperatures are measured at the reference location and point of interest, one of these assumptions has been violated. Measurements have shown that even over distances of a few kilometers, there are differences in temperature and in pressure that can be significant for elevation determination.

The assumption of constant temperature over elevation changes at a given location is part of the equilibrium model for the atmosphere, and is probably necessary. The only alternative would be a full dynamic model of the atmosphere, including the effects of wind, surface heating, convection, and turbulence. Atmospheric data suggest that at least on large distance scales, the constant temperature model is a very good approximation at elevations below 1 km. At higher elevations, a linear lapse rate is often applied.

An embodiment relaxes the assumption of constant sea level pressure between the reference location and the point of interest. A first approach of an embodiment takes the sea level pressure for the reference location determined as above, but further applies the ideal gas law to convert this to a sea level pressure at a standard temperature. Then assume that this sea level pressure at a standard temperature would be the same at the point of interest. The temperature at the new location would then be used to convert this to the sea level pressure for that location, and then apply the formula above to determine the elevation.

A second approach of an embodiment uses a network of reference locations to determine the variation of equivalent sea level pressure with horizontal location in real time. These multiple measurements are then combined to determine a best estimate of the sea level pressure at the point of interest. There are at least two possible ways of determining the best estimate: a weighted average approach in which the weighting is a function of the horizontal distance from the particular reference point to the point of interest; a least square fit to create a second order surface that best fits the computed sea level pressures at the reference locations and can then be used to interpolate an estimate of the sea level pressure at the point of interest.

The two approaches described above can also be combined. That is, at each reference location the sea level pressure at standard temperature is determined, and these data are combined using one of the techniques above to generate a best estimate of the sea level pressure at standard temperature at the point of interest.

Additionally, when using the altimeter, an embodiment recognizes sudden movements in pressure such as the air conditioner changing state (e.g., turning ON, etc.) or windows opening in a car by using application level data into the hardware or software filters that operate continuously on the location and altimeter data.

Further, a wind gauge can be used at the beacon to determine the direction of the wind flow, which is believed to be a indicator of atmospheric pressure gradient. A wind gauge along with a compass can be used to determine the precise direction and level of wind flow which can then be used to correct and/or filter our variations in the user's sensor.

The per floor height of a given building can be determined by various methods including but not limited to a user walking the building through the stairs and collecting information about each floor, ramps etc. In addition an electronic diagram can be used to determine the relative height of each floor.

When the height is estimated based on either WAPS or the altimeter, information such as terrain, height of the building, height of surrounding buildings, etc. can be used to constrain the height solution.

Once an average pressure is known at a given location, along with historical reference pressure data collected from the reference sensors over a long period of time (days, months, year), it can be used to predictably determine the height based on the pressure at that location (without calibration or user input).

In one embodiment, the height of the user can be computed on a remote server by using the data from the user's sensor and combining it with the data from reference sensors. In this method, other information such as building information, crowd sourced information, etc. can also be used to determine the user's precise altitude.

In case a user is in close proximity to another user whose height is known, this information can be used to determine the unknown user's height.

In one embodiment of the network, the reference sensors need not necessarily be co-located with the WAPS beacon. A finer or a coarser grid of independent sensors with data connection to the server can be used for reference pressure measurement. The centralized server can either send reference pressure information to the mobile or can instruct the transmitters with data that needs to be sent to the mobile as a part of the WAPS data stream.

In another embodiment, the WAPS system uses an additional simplified beacon (supplemental beacon) that provides additional sensor information such as pressure, temperature in a smaller area such as a building. This transmission may be synchronous or asynchronous to the main WAPS timing beacons. Additionally, the supplemental beacon may either upload the sensor data to a centralized server from which it is disseminated to the mobile units or transmit the data over a predefined set of PRN codes which can be demodulated by the WAPS mobile receiver.

The reference pressure network can be optimized based on accuracy requirements and historic pressure variation data for a given local area. For example, in cases where very accurate measurement is a must, a reference sensor can be deployed in that building or a mall.

The WAPS beacon network along with the reference pressure data forms a close network of accurate pressure and temperature measurement with very short time intervals which can be harnessed by other applications such as geodesy.

The rate of change of pressure combined with data from other sensors can be used to determine vertical velocity which can then be used to determine if a user went through an elevator. This can be very useful in emergency situations and/or tracking applications.

In cases of sensors with lower resolution than needed to estimate floor height, under static conditions, averaging the pressure measurements over time can be used to obtain the user height based on reference data.

Hybrid Positioning and Information Exchange with Other Systems

The system of an embodiment can be combined with any ‘signal of opportunity’, in order to provide positioning. Examples of a signal of opportunity include, but are not limited to, one or more of the following: GPS receivers; Galileo; Glonass; Analog or Digital TV Signal; signals from systems such as MediaFLO, Wi-Fi; FM signals; WiMax; cellular (UMTS, LTE, CDMA, GSM etc); bluetooth, and, LORAN and e-LORAN receivers.

Regardless of signal type, the signal of opportunity provides a range measurement or a proxy for a range measurement, such as signal strength. This proxy for a range is weighed and combined appropriately to get an estimate for the location. The weighting may use the signal-to-noise ratio (SNR) of the received signals or, alternatively, use a metric that defines the environment of the receiver (e.g., knowledge of urban, suburban, rural environment from assistance data, whether the receiver is indoor or outdoor based on input from the application). This is typically done in those environments where the system of an embodiment is unavailable or signal coverage is limited. When using the SNR for a weight for a particular measurement the weight may simply be an inverse function of the SNR (or any other function that provides lower weight to signals with lower SNR) to allow optimal combination of the WAPS measurements as well as other system measurements to obtain a position. The final positioning solution may be calculated either by taking range measurements from the additional signal sources and combining with the WAPS range measurements and deriving a position solution for latitude, longitude and height, or by taking the position measurements from the additional sources/devices and the position measurements from the WAPS system and providing an optimized location solution using a combination of these location measurements based on the position quality metric from different systems. The various configurations of obtaining a hybrid solution using WAPS measurements/WAPS position estimates are shown in FIG. 29, FIG. 30, and FIG. 31. Any of the architectures described below can be selected for use depending on the hardware and software partitioning of the system.

FIG. 29 is a block diagram of hybrid position estimation using range measurements from various systems, under an embodiment. The range measurements (along with associated range quality metrics) are used from GNSS and other positioning systems and combined in a single optimal position solution by a hybrid position engine. This architecture is the most optimal in terms of using the available data to get the best position estimate out of them.

FIG. 30 is a block diagram of hybrid position estimation using position estimates from various systems, under an embodiment. Independent position estimates from different systems along with position quality are used to choose the one with the best quality. This architecture is the easiest to implement and integrate since the different positioning system are well isolated.

FIG. 31 is a block diagram of hybrid position estimation using a combination of range and position estimates from various systems, under an embodiment. For example, a position estimate from a WLAN positioning system can be compared with position estimate from range measurements from GNSS and WAPS systems to arrive at the best solution.

Inertial Navigation Sensors (INS) such as accelerometers and gyros, magnetic sensors such as e-compass, pressure sensors such as altimeters can be used to provide location aiding information (referred to as loose coupling) or raw sensor measurements (referred to as tight coupling) to the WAPS system for usage in tracking mode.

An accelerometer can be used in the receiver of an embodiment to determine a frequency for updating the position reporting to the server. A combination of sequence of position solutions and accelerometer measurements can be used to detect static position, constant velocity and/or other movement. This movement data or information can then be used to determine the frequency of the updates such that, for example, when there is non-uniform motion the frequency of updates can be set to a relatively high frequency, and when the receiver is at a constant velocity or stationary for a pre-determined period of time the frequency of the updates can be reduced to save power.

The sensor or position measurements can be combined into a position solution in a position filter (such as a Kalman filter). Two types of tight coupling architectures, where the sensor measurements are combined with GNSS and WAPS measurements in the WAPS hybrid position engine, are illustrated in FIG. 32 and FIG. 33. FIG. 32 is a flow diagram for determining a hybrid position solution in which position/velocity estimates from the WAPS/GNSS systems are fed back to help calibrate the drifting bias of the sensors at times when the quality of the GNSS/WAPS position and/or velocity estimates are good, under an embodiment. This architecture simplifies the algorithm formulation by partitioning the sensor calibration and position calculation parts of the algorithm. However, the drawback of this method is the complexity in deciding when are the good times to re-calibrate the sensors using WAPS/GNSS estimates.

FIG. 33 is a flow diagram for determining a hybrid position solution in which sensor parameters (such as bias, scale and drift) are estimated as part of the position/velocity computation in the GNSS and/or WAPS units without need for explicit feedback, under an embodiment. For example, the sensor parameters can be included as part of the state vector of the Kalman filter used for tracking the position/velocity of the receiver. This architecture provides an optimal solution in that the information is used in one combined filter to update both position and sensor parameters.

Loose coupling is illustrated in FIG. 34 and FIG. 35 where a selection unit selects between position estimate from the GNSS engine and the WAPS engine. Note that the selection unit may be part of the WAPS or GNSS position units. FIG. 34 is a flow diagram for determining a hybrid position solution in which sensor calibration is separated from the individual position computation units, under an embodiment. FIG. 35 is a flow diagram for determining a hybrid position solution in which the sensor parameter estimation is done as part of the state of the individual position computation units, under an embodiment.

The loose coupling methods are generally worse than the tight coupling methods since a selection uses information only from one system. Amongst loose coupling or tight coupling methods, the method that uses the ranges along with raw sensor measurements to determine position and sensor parameters in one optimal filter are better than when sensor parameters and position are computed separately. As a result, the preferred method from a performance perspective is the tight coupling system with implicit sensor parameter estimation. However, depending on the hardware/software platform partitioning, one or more of these methods may be easily implemented and may be selected for that reason.

Information can also be exchanged between the WAPS system and other transceiver systems on the same platform (such as cell-phone, laptop, PND). The transceiver systems can be, for example, Bluetooth transceiver, WLAN transceiver, FM receiver/transmitter, digital or analog TV system, MediaFLO, satellite communication system such as XM radio/Iridium, Cellular modem transceivers such as GSM/UMTS/cdma2000 1x/EVDO or WiMax). FIG. 36 shows the exchange of information between the WAPS and other systems, under an embodiment. The exchange of information between systems can improve the performance of either system. Since the WAPS system time is aligned to GPS time, the WAPS system can provide good quality timing and frequency estimates to any other system. Time and frequency estimates into the WAPS system can reduce the WAPS acquisition search space in code and frequency. In addition, the WAPS system can provide location information to the other transceiver systems. Similarly, if the other system has location information (partial position eg. Altitude or 2-D position, or full position eg. 3-D position or raw range/pseudo-range/range-difference) available, that location information can be provided with or without a location quality metric to the WAPS system. The range/pseudo-range data should be provided along with the location of transmitter (or other means to compute the range from the transmitter location to any receiver location) to enable usage of this range information in a hybrid solution. The range difference corresponding to two transmitters should be provided along with location of the two transmitters. The WAPS system will use the information to aid its position solution. Alternatively, location information can be provided in the form of ranges (or pseudo-ranges) from known transmitter locations to the receiver device. These ranges (or pseudo-ranges) would be combined with WAPS ranges by the positioning algorithm to compute a hybrid position.

Examples of specific systems and information that can be exchanged between them are shown in FIG. 37, FIG. 38, and FIG. 39.

FIG. 37 is a block diagram showing exchange of location, frequency and time estimates between FM receiver and WAPS receiver, under an embodiment. The location estimates from WAPS system can be provided to an FM Receiver. This location estimate may then be used, for example, to automatically determine active FM radio stations in the local region. The FM signal may include a RDS—Radio Data Service) transmission as well. If the location of the FM station is included in the RDS/RBDS data-stream (for example, the Location and Navigation (LN) feature that provide data about the transmitter site, giving city and state name and provide DGPS navigation data) then this information can be used to provide location aiding to the WAPS Receiver. The frequency estimate from the WAPS system can be easily used to reduce the FM Receiver tuning time for a particular station. In the other direction, the frequency quality of the estimate in the FM Receiver is based on the FM radio station transmit quality. The time estimate in the WAPS system is based on GPS time and time can be transferred to the FM Receiver to aid timing alignment. Clock Time (CT) feature on RDS/RBDS transmissions may be used to determine timing relative to the RDS data stream and can be transferred to the WAPS receiver.

FIG. 38 is a block diagram showing exchange of location, time and frequency estimates between WLAN/BT transceiver and WAPS Receiver, under an embodiment. In general, these WLAN/BT transceivers do not have an accurate frequency estimate and as a result the frequency estimates would be quite coarse, so the transfer of such an estimate from WLAN/BT transceiver to WAPS receiver may have limited value. In the reverse direction, a WAPS frequency estimate can reduce the time taken for frequency acquisition on the WLAN system. The timing information that is extracted, for example, from the timestamp on the wireless LAN AP (Access Point) beacons can be transferred to the WAPS system to aid WAPS acquisition. Note that some reference of the WLAN timing relative to GPS time is needed to make this useful for the WAPS system. Similarly, if the WLAN/BT system has a location estimate (partial position eg. Altitude or 2-D position, or full position eg. 3-D position or raw range/pseudo-range) available, that location information can be provided with or without a location quality metric to the WAPS system. The WLAN position estimate could simply be the geo-location of the serving AP or other “audible” APs in the vicinity. The WLAN position estimate could also be partial, for example, the altitude estimate based on the floor of the AP in question. The WLAN location information can also be a range estimate to a known transmitter AP location (for example, the WLAN system may use Round Trip Time measurements to determine range estimate) or a range difference estimate between two transmit APs.

FIG. 39 is a block diagram showing exchange of location, time and frequency estimates between cellular transceiver and WAPS receiver, under an embodiment. Location estimates (partial, complete or raw ranges/range-differences) from cellular systems (such as from TDOA, AFLT or other similar cellular signal FL or RL based positioning method) can be provided to the WAPS system which will use these measurements to obtain a better position estimate. Frequency estimates from the frequency tracking loops of the cellular modem can be provided to the WAPS system to reduce the frequency search space and thus improve WAPS acquisition time (i.e. TTFF). Time estimates from the cellular system can also be provided to the WAPS system to reduce the code search space or to aid bit and frame alignment. For example, systems that are synchronized to GPS time such as cdma2000/1x EVDO can provide fine time estimates for the WAPS system whereas asynchronous (transmissions not synchronized finely to time scale such as GPS) cellular systems such as GSM/GPRS/EGPRS/UMTS may provide coarse time estimates.

Since the WAPS system time is aligned to GPS time, the WAPS system can provide good quality timing and frequency estimates to any other system even if not on the same platform. For example, the WAPS system can be used to provide timing information to a pico/femto-cell BTS through a periodic hardware signal such as a pps (pulse-per-sec) aligned with GPS second-boundaries or a single pulse signal with an associated GPS time.

As described above, the spectrum used by the WAPS system of an embodiment can include licensed or unlicensed bands or frequencies. Alternatively, the WAPS system can use the “White Space” spectrum. The white space spectrum is defined as any spectrum that the WAPS systems senses or determines to be free in a local area (not limited to TV White Space) and transmits location beacons in that spectrum. The transmitters of an embodiment can use spectrum-sensing technology to detect unused spectrum and/or communicate geo-location (can be readily obtained from the GPS timing receiver) to a centralized database that coordinates the spectrum. The receivers can include spectrum-sensing technology to listen to these beacons, or in another embodiment, may be notified of the frequency to which to tune using the communication medium. The WAPS system can adapt to dynamic white space availability or allocation (in cases where the transmitters are required to broadcast their geo-location to a centralized database which then allocates either the spectrum to transmit in and/or the time duration for which it needs to transmit). The WAPS system can continuously broadcast in this spectrum or can share the spectrum with other systems as controlled by a centralized coordination service for the spectrum. The chipping rate and the data rate of the WAPS system components can be modified dynamically to suit the accuracy requirements and/or signal power and bandwidth availability at any given time. The system parameters can be sensed by the receiver or can be communicated to the receiver through the communication medium. The transmitters can form a local network or in cases of spectrum availability in a wider geographical area, can form a continuous network.

The transmitter of an embodiment can also coexist with other networks on the same transmit system in a time-shared fashion. For example, the same spectrum can be used in a time-shared fashion between location and smart grid applications. The transmitter is a broadcast transmitter using the maximum available power levels and can adjust its power levels dynamically based on spectrum sensing or as requested by a centralized coordinating server. The receiver can employ spectrum sensing or can be communicated by a communication medium (which can also be a white space spectrum) of the system parameters and wake up times at that time.

Based on spectrum availability, the WAPS system of an embodiment can use one channel of the TV White space (6 MHz bandwidth) or, if multiple channels are available, can use the multiple frequency bands for better multipath resolution. If adjacent channels are available, channel bonding (e.g., combining adjacent channels) can be used. The increased bandwidth can be used for better multipath resolution, higher chipping rate for higher accuracy, etc. Alternatively, the available bandwidth can be used under FDMA to help solve the near far problem and/or multipath resolution.

White space transmission/reception of WAPS waveforms in two or more white-space bands can enable better and faster integer ambiguity resolution for WAPS carrier phase measurements. This will enable relatively high accuracy (of the order of <1 wavelength) single point positioning using WAPS.

The whitespace bandwidth can also be used as a communication channel in the WAPS (in cases where a reference receiver is used) between the reference receiver at surveyed location and the receiver whose position is to be found.

When a WAPS system in the licensed band is available in a wide area network, a White-Space based local network of towers can be used to augment the location accuracies of the WAPS receiver. The receiver can be designed to listen to both frequencies simultaneously or switch between the licensed band and white space band and tune to the appropriate frequencies.

The White-space bands can also be used to send assistance information to the WAPS, GPS or AGPS systems for location aiding and other assistance information like clock bias, satellite ephemeris etc.

In cases where multiple frequencies with wide seperation are available, the WAPS system can be designed to take advantage of the diversity in frequencies to provide better multipath performance.

Correlator Implementation

In any CDMA receiver (or a receiver that uses Pseudo Random codes as a part of the transmit bit stream), correlation of the received signal with its PRN code is essential. The more parallel correlations that can be done, the faster is the time to acquire the channel. A brute force implementation of a parallel complex correlator architecture for signals that use a maximal length sequence of length 1023, input signal oversampled by 2×, is shown in FIG. 40. The even and odd samples correspond to the 2×oversampled data. The shift registers get shifted at the rate of the ‘clk’. The PRN generator generates the reference PRN and gets shifted at the rate of clk/2. The correlation sum at each cycle is calculated using the equation

${{corr}\;{{sum}\lbrack n\rbrack}} = {\sum\limits_{k = 0}^{2045}\;{{{gcref}\lbrack k\rbrack}*{x\left\lbrack {k - n} \right\rbrack}}}$

where x[n] is the complex input, gcref[k] is the PRN reference waveform, and corrsum[n] is the complex output from the correlator. FIG. 37 shows one optimization where the even and odd samples share the same multiplier and adder trees.

An implementation like the one shown above requires 2046*2*n-input bits flip flops for the shift registers, 1023 of 1×n-input multiplier and an adder that sums the 1023 products. As an example, if the input bit width were 2-bit samples, then 1023 of 1×2 multipliers are required, and 1023 of these multiplications would have to be summed in one clock cycle. This could be an onerous implementation in terms of area, timing and power in hardware. In particular, in an FPGA implementation a brute force implementation of the multiplier and adder structure may be impossible to implement given the limited resources.

An embodiment includes a novel approach to this implementation which takes advantage of the structures available in state of the art FPGAs. Modern FPGAs include several configurable logic blocks (CLBs) that implement logic and storage elements. The lookup tables that form an essential part of the CLBs can also be reprogrammed as shift registers with a serial shift in, but have parallel random access to the storage elements. This implementation can also be used in an ASIC implementation as an efficient approach to computing the correlation and as an easy migration path from FPGAs (used to prototyping) to ASICs (for mass production volumes).

Turning to shift register implementation, particular FPGAs have shift register primitives which are mapped onto the CLBs. Some FPGAs have a 16-bit shift register while some have a 32-bit shift register mapping. FIG. 41 shows a 32-bit shift register implementation derived from two 16-bit shift register primitives with parallel random access read capabilities. In this example implementation a 16-bit shift register group primitive is used to build a 32-bit shift register. 32 of such 32-bit shift registers are strung in series to form the 1024-bit shift register. The shift operations occur at ‘clk’ rate, and the readout operations occur at 32 times the clock rate, as shown in FIG. 42.

The adder tree can also be complex to implement a 1023×n-bit adder. In the case of a particular FPGA, a 48-bit DSP slice is available which can be used as 1023×n-bit sequential adder. The hardware structure for this implementation is shown in FIG. 43. The 32 values from the 32 groups of shift registers are split into 4 groups of 8 additions. In this example, a 2-bit input is used. Each 8-number adder produces a 10-bit output which is then aligned in a 12-bit group in the 48-bit adder. Room is allowed for the growth of the sum. After 32 cycles, the 1024 bit sum is obtained by adding the 4 groups of the 12-bit adders into one 14-bit sum.

Encryption and Security

The overhead information in the system of an embodiment can be encrypted using an encryption algorithm. This allows users to use the system and be billed for usage of the system and provide a means to control information security. Keys can be applied to decrypt the signal. The keys can be obtained using a PC, wireless network, hardware dongle or can be burnt into the non volatile memory of the device in a way that it is inaccessible by any unintended sources.

The encryption of an embodiment provides both data security and authentication. The key components that are secured using encryption are the transmitters, the receivers and the server communication. Transmitter Authentication includes unambiguously identifying transmitters so that malicious transmitters can be rejected. Receiver Authentication is such that only authentic receivers should be able to utilize the transmitted information. Receiver Authorization is such that only receivers that are authorized (authentic receiver) should be permitted to operate. Server Communication is encrypted such that communication between the receivers and the server and between the transmitters and the server has to be secure. User data protection is also encrypted because location tracking user databases require protection from unauthorized access.

Encryption methods of an embodiment can be broadly classified into two types: symmetric key cryptography and asymmetric key cryptography. Symmetric Key encryption provides both authentication and encryption, whereas asymmetric key encryption provides authentication of the private key owner, since the public key is available to anyone. Symmetric Key encryption of data is an order of magnitude faster given similar resources. 3DES and AES are examples of symmetric key cryptography. A combination of both methods is used as part of the encryption architecture of an embodiment.

Over-the-air (OTA) broadcast messages can comprise general broadcast messages or system messages. General broadcast messages contain data specific to each transmitter such as location information, transmitter timing counts and other pertinent information that assist a receiver in determining its location. System messages are used to configure encryption keys, enable/disable receivers or for targeted one-way private information exchange to a specific set of receivers.

The general format of a message of an embodiment includes: Message type (parity/ECC protected); Encrypted Message; and Encrypted Message ECC. The ECC for the encrypted message is computed after the message is encrypted.

The OTA broadcast comprises frames that are transmitted periodically, possibly every second. Depending on the channel data rate, a message could be split up (segmented) over multiple frames. Each frame comprises a frame type and frame data. Frame type (parity protected) indicates whether this is the first frame of a message or if it is a continuing frame; it can also indicate a low level format frame that may be used for other purposes. Frame Data is essentially a segmented Message or a low level data frame.

OTA system messages can be encrypted either by the session key or by the transmitter's private key depending upon the system message type. OTA general broadcast messages are encrypted using a symmetric key algorithm with a session key that both the transmitter and receiver have negotiated as described herein. This provides mutual authentication i.e., transmitters can be authenticated by receivers and only authenticated receivers can decode the OTA broadcast. The session key is known to all transmitters and receivers and it is changed periodically. Key change messages are encrypted using the past few session keys, allowing receivers that were not active at a certain time period to sync up to the current session key.

OTA broadcasts also include periodic system messages encrypted by the transmitter's private key. The receivers can unambiguously identify the authenticity of the transmitter by using the associated public key. In the event the session key is compromised, this mechanism ensures that unauthorized transmitters cannot be implemented.

FIG. 44 is a block diagram of session key setup, under an embodiment. Each receiver is equipped with a unique device ID and a device specific key. FIG. 45 is a flow diagram for encryption, under an embodiment. The WAPS System data servers maintain a database of the device ID/device specific key pairing. Receiver initialization between a receiver and the WAPS data servers is facilitated using a data connection (GPRS/USB/Modem, etc.) specific to the receiver type. This connection is encrypted using the device specific key after the device identifies itself with the device ID. During this initialization, the current session key, the transmitter public key and licensing terms (i.e., duration the receiver is authorized) are exchanged. Receiver initialization can be performed when the receiver has lost the current session key (initial power up) or if its session key is out of sync (extended power off). The session key is periodically updated, and the new key used for the updating is encrypted using the previous N keys.

The OTA data rate may be inadequate for being the sole mechanism to authorize receivers. However, the system message protocol of an embodiment supports device ID specific and device ID range-based receiver authorization.

A compromised session key requires all receivers to re-initialize. Therefore the session key storage should be tamper-proof in the device. Session key stored outside the device crypto boundary (i.e., attached storage of any kind) will be encrypted using the device's secure key.

A compromised session key cannot be used to masquerade a transmitter because the transmitter periodically transmits authentication information using its private key. Therefore, the transmitter's private key should never be compromised.

In an alternative embodiment, shown in FIG. 46, the keys can be directly delivered to the receiver over the communication link from the WAPS server or can be routed through a third party application or service provider. The keys can have a certain validity period. The keys can be made available on a per-application basis or a per device basis based on a contractual agreement with the customer. Everytime a position request is made either by an application on the receiver or by an application on the network, the keys are checked for validity before retrieving the position or parameters to compute position from the WAPS engine. The key and information exchange to a WAPS server can happen using proprietary protocols or through standard protocols such as OMA SUPL.

The security architecture of the system can be implemented as combination of architectures shown in FIG. 44 and FIG. 46.

Parameter sensors can be integrated into receivers of the WAPS system to time tag and/or location tag the measurements from the sensors. The parameter sensors can include, but are not limited to, temperature sensors, humidity sensors, weight sensors, and sensors for scanner types to name a few. For example, an X-ray detector can be used to determine if a tracked receiver, or device including a tracked receiver, passes through an X-ray machine. The time of the X-ray event and location of the X-ray machine can be tagged by the detector. In addition, other parameter sensors can be integrated into the WAPS system to both time tag and location tag measurements from the sensors.

Users can be billed for the system on a per use, per application on the device, hourly, daily, weekly, monthly and annual basis for an individual or asset.

The location and height of the receiver unit can be sent to any application on the terminal or to the network server using a communication protocol. Alternatively, the raw range measurement can be sent to the network through a communication protocol. The communication protocol can be a standard serial or other digital interface to the application on the terminal or through a standard or proprietary wireless protocol to the server. Possible methods of coupling or connecting to a server through a standard protocol includes the use of SMS messaging to another phone connected to the server or, alternatively, through a wireless data service to a web server. The information sent includes one or more of latitude/longitude, height (if available), and timestamp. The application on the server or the terminal unit can initiate a position fix. The location of the user can be communicated directly from the server or by the application on the server.

The WAPS standalone system independent of a GPS receiver can be used for determining the location of a device. The WAPS system by itself or integrated WAPS and GPS and/or other positioning system can be implemented to co-exist with media storage cards (such as SD cards) on the media cards. The WAPS system by itself or integrated WAPS and GPS system and/or other positioning systems can be implemented to co-exist on a cellular phone Subscriber Identity Module (SIM) card so that the SIM cards can be tracked.

Precise Positioning with Carrier Phase

One method to augment the WAPS system performance to further improve accuracy (upto <1 m) is to implement a carrier phase positioning system as described below. The beacons are set up as usual WAPS transmitters. For this method, it may be desirable (but not essential) to not use TDMA slotting to facilitate easy continuous phase tracking. When TDMA is not used, the near-far problem can be overcome through interference cancellation and increased dynamic range in the receiver. The WAPS receiver to support such a method is capable of measuring and time-stamping code and carrier phase in a continuous manner for all visible satellites. In addition, there is a reference receiver at a known surveyed location that can also make similar measurements of code and carrier phase in a continuous manner. The measurements from the WAPS receiver and the reference receiver may be combined to compute a position either on the device or on the server. The configuration of such a system would be identical to a differential WAPS system.

Carrier phase measurement is more accurate than code phase measurement but contains unknown integer number of carrier phase cycles called integer ambiguity. However there are ways to find integer ambiguities called ambiguity resolution. One method will be considered here that uses extension of local minima search algorithm to iteratively solve for user receiver position and uses measurements at multiple epochs for improved accuracy.

Consider carrier phase measurement at user receiver at a single epoch first as follows. φ_(u) ^((k))=λ⁻¹ ·r _(u) ^((k)) +N _(u) ^((k))+ƒ·(dt _(u) −dt ^((k)))+ε_(u) ^((k))  (1) where φ, λ, ƒ and N are carrier phase, wavelength, frequency and integer cycles respectively, dt is clock bias, r is range, ε is measurement error and subscript u represents user receiver k represents transmitter number. Range is given in terms of user and transmitter positions p_(u) and p^((k)) as

$\begin{matrix} {r_{u}^{(k)} = {{{p_{u} - p^{(k)}}} = \sqrt{\left( {p_{ux} - p_{x}^{(k)}} \right)^{2} + \left( {p_{uy} - p_{(y)}^{(k)}} \right)^{2} + \left( {p_{uz} - p_{z}^{(k)}} \right)^{2}}}} & (2) \end{matrix}$ To eliminate error in the knowledge of transmitter clock bias consider another receiver at known position (called reference receiver) with corresponding carrier phase equation φ_(r) ^((k))=λ⁻¹ ·r _(r) ^((k)) +N _(r) ^((k))+ƒ·(dt _(r) −dt ^((k)))+ε_(r) ^((k))  (3) where subscript r stands for reference receiver and subtract (2) from (1) to get φ_(u) ^((k))−φ_(r) ^((k))=λ⁻¹·(r _(u) ^((k)) −r _(r) ^((k)))+(N _(u) ^((k)) −N _(r) ^((k)))+ƒ·(dt _(u) −dt _(r))+(ε_(u) ^((k))−ε_(r) ^((k)))  (4) which is written as φ_(ur) ^((k))=λ⁻¹ ·r _(ur) ^((k)) +N _(ur) ^((k)) +ƒ·dt _(ur)+ε_(ur) ^((k))  (5) where (•)_(ur)=(•)_(u)−(•)_(r). Since dt_(u)r is not of interest it can be eliminated by differencing (5) for different values of index (k) to get so called double difference observable equation φ_(ur) ^((kl))=λ⁻¹ ·r _(ur) ^((kl)) +N _(ur) ^((kl))+ε_(ur) ^((kl))  (6) where (•)_(ur) ^((kl))=(•)_(ur) ^((k))−(•)_(ur) ^((l)). Equation (6) then is an equation in the unknown user position p_(u) through r_(ur) ^((kl)) as r _(ur) ^((kl))=(r _(u) ^((k)) −r _(r) ^((k)))−(r _(u) ^((l)) −r _(r) ^((l)))=∥p _(u) −p ^((k)) ∥−∥p _(u) −p ^((l))∥−γ^((kl))  (7) where γ^((kl)) =∥p _(r) −p ^((k)) ∥−∥p _(r) −p ^((l))∥  (8) Typically transmitter l used in double differencing is one of the transmitters and labeling it as 1 for convenience leads to equation in the matrix form as

$\begin{matrix} {{\begin{bmatrix} \phi_{ur}^{(21)} \\ \phi_{ur}^{(31)} \\ \vdots \\ \phi_{ur}^{(n)} \end{bmatrix} = {{\lambda^{- 1} \cdot \begin{bmatrix} {{{p_{u} - p^{{(2)}\;}}} - {{p_{u} - p^{(1)}}} - \gamma^{(21)}} \\ {{{p_{u} - p^{(3)}}} - {{p_{u} - p^{(1)}}} - \gamma^{(31)}} \\ \vdots \\ {{{p_{u} - p^{(n)}}} - {{p_{u} - p^{(1)}}} - \gamma^{({n\; 1})}} \end{bmatrix}} + \begin{bmatrix} N_{ur}^{(21)} \\ N_{ur}^{(31)} \\ \vdots \\ N_{ur}^{({n\; 1})} \end{bmatrix} + \begin{bmatrix} ɛ_{ur}^{(21)} \\ ɛ_{ur}^{(31)} \\ \vdots \\ ɛ_{ur}^{({n\; 1})} \end{bmatrix}}}\mspace{79mu}{or}} & (9) \\ {\mspace{79mu}{\phi = {{\lambda^{- 1} \cdot {f\left( p_{u} \right)}} + N + ɛ}}} & (10) \end{matrix}$ Equation (10) is a nonlinear equation in unknown user position p_(u). Local minima search algorithm works on linear equations and so (10) is linearized and solved iteratively as follows. Let at iteration m, approximation to p_(u) is p_(u) ^(m) where

$\begin{matrix} {{p_{u} = {p_{u}^{m} + {\Delta\; p_{u}}}}{and}} & (11) \\ {{f\left( p_{u} \right)} = {{f\left( {p_{u}^{m} + {\Delta\; p_{u}}} \right)} \approx {{f\left( p_{u}^{m} \right)} + {\frac{\partial f}{\partial p_{u}}{\left( p_{u}^{m} \right) \cdot \Delta}\; p_{u}}}}} & (12) \end{matrix}$ where

$\begin{matrix} {{{\frac{\partial f}{\partial p_{u}}\left( p_{u} \right)} = \begin{bmatrix} {l^{(2)} - l^{(1)}} \\ {l^{(3)} - l^{(1)}} \\ \vdots \\ {l^{(n)} - l^{(1)}} \end{bmatrix}},} & (13) \end{matrix}$ where l^((k)) is line-of-sight row vector

$l^{(k)} = \frac{p_{u} - p^{(k)}}{{p_{u} - p^{(k)}}}$ Then equation (10) is written as, y=G·x·+N+ε  (13) where y=φ−λ⁻¹·ƒ(p_(u) ^(m)),

${G = {{\lambda^{- 1} \cdot \frac{\partial f}{\partial p_{u}}}\left( p_{u}^{m} \right)}},$ and x=Δp_(u) Equation (13) is linear in x=Δp_(u) and is solved for Δp_(u) using local minima search algorithm given below. Using so obtained solution of Δp_(u) equation (11) is used to get p_(u) at iteration m and then so obtained p_(u) is used as p_(u) ^(m+1) at the next iteration (m+1). The iterations are continued till Δp_(u) becomes small enough to decide convergence. At the beginning of iterations p_(u) ⁰ can be taken from code phase based solution.

Now consider solving equation (13). Let Q_(dd) be covariance matrix of double difference carrier phase error vector. It is obtained as follows. Variance of error in single difference observable φ_(ur) ^((k))=φ_(u) ^((k))−φ_(r) ^((k)) is Q_(u)+Q_(r) where Q_(u) and Q_(r) are respective carrier phase error variances which are assumed to be independent of transmitter k. Variance of φ_(ur) ^((kl))=φ_(ur) ^((k))−φ_(ur) ^((l)) is 2·(Q_(u)+Q_(r)) and cross-variance between φ_(ur) ^((jl))=φ_(ur) ^((j))−φ_(ur) ^((l)) and φ_(ur) ^((kl))=φ_(ur) ^((l))−φ_(ur) ^((l)), j≠k is Q_(u)+Q_(r) which is variance of the common term φ_(ur) ^((l)). So,

$\begin{matrix} {Q_{dd} = {\left( {Q_{u} + Q_{r}} \right) \cdot \begin{bmatrix} 2 & 1 & \ldots & 1 \\ 1 & 2 & \ldots & 1 \\ \vdots & \vdots & \ddots & \vdots \\ 1 & 1 & \ldots & 2 \end{bmatrix}}} & (14) \end{matrix}$ Weighted least squares solution of (13) is: {circumflex over (x)}=G ^(L)·(y−N)  (15) where G^(L) is left inverse of G, G ^(L)=(G ^(T) ·Q _(dd) ⁻¹ ·G)⁻¹ ·G ^(T) ·Q _(dd) ⁻¹ Vector of residuals is then (Y−N)−G·{circumflex over (x)}=(y−N)−G·G ^(L)(y−N)=(I−G·G ^(L))(y−N)=S(y−N)  (16) which is a function of N and local minima search tries to minimize weighted norm square of residuals with respect to N as min c(N)=(y−N)^(T) ·W·(y−N), where W=S ^(T) ·Q _(dd) ⁻¹ ·S and S=I−G·G ^(L)  (17) To solve (17) consider solving W·N≈W·y  (18) under the constraint that N is integer. Then W·(y−N)≈0 and (y−N)^(T)·W^(T)·W·(y−N)=(y−N)^(T)·W·(y−N)=c(N)≈0 because W is idempotent (W^(T)=W and W·W=W). Thus search for N is limited to those N which satisfy (18).

Once N is solved for estimate of x=Δp_(u) is obtained from equation (15). Matrices G and G^(L), of dimensions (n−1)×3 and 3×(n−1) respectively have rank 3 each since (n−1)>3 and so (n−1)×(n−1) matrices S and W will fall short from full rank of (n−1) by 3.

Using QR decomposition of W (LU decomposition could also be used) on equation (18), R·N=Q ^(T) ·W·y  (19) where Q is ortho-normal matrix (Q⁻¹=Q^(T)) and R is upper triangular so that

$\begin{matrix} {{\begin{bmatrix} R_{11} & R_{12} \\ 0 & 0 \end{bmatrix} \cdot \begin{bmatrix} N_{1} \\ N_{2} \end{bmatrix}} = \begin{bmatrix} \left( {Q^{T} \cdot W \cdot y} \right)_{11} \\ {\approx 0} \end{bmatrix}} & (20) \end{matrix}$ and then N ₁=round{R ₁₁ ⁻¹·((Q ^(T) ·W·y)₁₁ −R ₁₂ ·N ₂)}  (21)

Thus solution of

$N = \begin{bmatrix} N_{1} \\ N_{2} \end{bmatrix}$ is obtained by searching for N₂ in 3 dimensional box with integer values, obtaining N₁ from (21), and picking that N which minimizes c(N) in (17). Search for N₂ is centered on the value of N₂ from the previous iteration. At the zero-th iteration N₂ latter part of N which is obtained as fractional part of λ⁻¹·ƒ(p_(u) ⁰); p_(u) ⁰ being the code phase based solution. The size of the 3 dimensional search box depends on the uncertainty in the code phase based solution. This box can be divided into smaller sub-boxes and center of each smaller size sub-box can be tried as initial p_(u) ⁰.

The above method used a single epoch (instant) of measurement to determine position. The description below explains an extension to the single epoch method Multiple epoch measurements are taken close enough in time wherein user receiver movement is negligible. Further, integer ambiguities of the initial epoch remain the same for subsequent epochs so that no new unknown integer ambiguities are introduced at subsequent epochs. Multiple epoch measurements do not give independent equations because transmitter locations are fixed (unlike in the GNSS case where motion of satellite transmitters change line-of-sight and thus give independent equations). So multiple epoch measurements do not help in solving for integer ambiguities as float ambiguities (unlike in GNSS case when number of independent equations become greater than number of unknown ambiguities plus three position coordinates). However, multiple epoch measurements allow more carrier phase measurement errors and still allow successful ambiguity resolution. In the multiple epoch case equation (13) becomes

$\begin{matrix} {y = {\begin{bmatrix} y_{1} \\ y_{2} \\ \vdots \\ y_{m} \end{bmatrix} = {{\begin{bmatrix} G \\ G \\ \vdots \\ G \end{bmatrix} \cdot x} + \begin{bmatrix} N \\ N \\ \vdots \\ N \end{bmatrix} + \begin{bmatrix} ɛ_{1} \\ ɛ_{2} \\ \vdots \\ ɛ_{m} \end{bmatrix}}}} & (22) \end{matrix}$ Following development for single epoch case as above equation, the problem reduces to problem of finding N such that

$\begin{matrix} {{{{\min\mspace{14mu}{c(N)}} = {\left( {y - \begin{bmatrix} N \\ N \\ \vdots \\ N \end{bmatrix}} \right)^{T} \cdot \overset{\_}{W} \cdot \left( {y - \begin{bmatrix} N \\ N \\ \vdots \\ N \end{bmatrix}} \right)}},{{{where}\mspace{14mu}\overset{\_}{W}} = {{\overset{\_}{S}}^{T} \cdot {\overset{\_}{Q}}_{dd}^{- 1} \cdot \overset{\_}{S}}},{\overset{\_}{S} = {I - {\overset{\_}{G} \cdot {\overset{\_}{G}}^{L}}}},{{\overset{\_}{G}}^{L} = {\left( {{\overset{\_}{G}}^{T} \cdot {\overset{\_}{Q}}_{dd}^{- 1} \cdot \overset{\_}{G}} \right)^{- 1} \cdot {\overset{\_}{G}}^{T} \cdot {\overset{\_}{Q}}_{dd}^{- 1}}}}{\overset{\_}{G} = \begin{bmatrix} G \\ G \\ \vdots \\ G \end{bmatrix}}{{\overset{\_}{Q}}_{dd}^{- 1} = \begin{bmatrix} Q_{dd}^{- 1} & 0 & \ldots & 0 \\ 0 & Q_{dd}^{- 1} & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & Q_{dd}^{- 1} \end{bmatrix}}} & (23) \end{matrix}$

And to solve (23) for N consider solving

$\begin{matrix} {{{\overset{\_}{W} \cdot \overset{\_}{I} \cdot N} \approx {\overset{\_}{W} \cdot y}}{where}\text{}{\overset{\_}{I} = \begin{bmatrix} I \\ I \\ \vdots \\ I \end{bmatrix}}} & (24) \end{matrix}$ using QR decomposition of W·Ī (LU decomposition could also be used) and following equations of (19) to (21) as above. Again, once N is solved for estimate of x=Δp_(u) is obtained from equation (15). If this estimate of x=Δp_(u) is small then iterations in equation (11) are stopped to obtain user position p_(u). Typically if each component of x is less than 1e-6 in magnitude then convergence is declared and iterations are stopped.

The next step is to verify whether the converged user position p_(u) is the right one. This is done based on residuals obtained from (10) as mod(φ−λ⁻¹·ƒ(p_(u))−N, λ). If maximum of absolute values of residuals for each epoch is less than κ·√{square root over (Q_(r))} then converged solution is accepted as a solution otherwise the search is continued by selecting a new sub-box. Typically scale factor κ in the verification test can be chosen to be 5. Once the solution is verified, the differential WAPS system described above can achieve accuracy close to or better than 1 m.

This differential WAPS carrier phase system may be overlaid on top of the traditional WAPS system through the addition of reference receivers or can be standalone. The differential WAPS carrier phase system can be used to deliver high accuracy positioning in certain localized target areas (such as malls, warehouses etc.).

In W-CDMA systems, two receive chains are used to improve the receive diversity. When WAPS co-exists with W-CDMA, one of the receive chains can be used temporarily for receiving and processing the WAPS signal. In certain cases of W-CDMA and CDMA architectures, the entire receive chain can be reused to receive WAPS signal by tuning the receiver to WAPS band and processing the WAPS signal while temporarily suspending the processing of the W-CDMA/CDMA signals. In certain other embodiments where the GSM receive chain is multiplexed with the W-CDMA receive chain, the receiver can be further time-shared to be used for WAPS reception.

Once it is determined which signals are used from which towers for position determination in WAPS or any other TDMA system, in order to save power, most of the receiver of an embodiment is turned off during the slots at which either signal is not detected and/or signals from towers that radiate in those slots are not used for position determination. In case of detection of motion or change in position or change in signal conditions, then the receiver of an embodiment is turned ON for all the slots to determine which slots can be used for next set of position calculations.

Embodiments described herein include a positioning system comprising a terrestrial transmitter network including a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a reference sensor array comprising at least one reference sensor unit positioned at a known location. The system includes a remote receiver comprising an atmospheric sensor that collects atmospheric data at a location of the remote receiver. The system includes a positioning application running on a processor and coupled to the remote receiver. The positioning application computes a position of the remote receiver using the atmospheric data, reference data from a set of reference sensor units of the reference sensor array, and information derived from at least one of the positioning signals and satellite signals that are signals of a satellite-based positioning system. The position includes an elevation.

Embodiments described herein include a positioning system comprising: a terrestrial transmitter network comprising a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information, wherein a ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal; a reference sensor array comprising at least one reference sensor unit positioned at a known location; a remote receiver comprising an atmospheric sensor that collects atmospheric data at a location of the remote receiver; and a positioning application running on a processor and coupled to the remote receiver, wherein the positioning application computes a position of the remote receiver using the atmospheric data, reference data from a set of reference sensor units of the reference sensor array, and information derived from at least one of the positioning signals and satellite signals that are signals of a satellite-based positioning system, wherein the position includes an elevation.

Embodiments described herein include a positioning system comprising a terrestrial transmitter network including a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a reference sensor array comprising at least one reference sensor unit positioned at a known location. The system includes a remote receiver comprising an atmospheric sensor that collects atmospheric data at a position of the remote receiver. The system includes a positioning application running on a processor and coupled to the remote receiver. The positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from a set of reference sensor units of the reference sensor array. The positioning application computes the position of the remote receiver using the reference pressure estimate and information derived from at least one of the positioning signals and satellite signals that are signals of a satellite-based positioning system. The position includes an elevation.

Embodiments described herein include a positioning system comprising: a terrestrial transmitter network comprising a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information, wherein a ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal; a reference sensor array comprising at least one reference sensor unit positioned at a known location; a remote receiver comprising an atmospheric sensor that collects atmospheric data at a position of the remote receiver; and a positioning application running on a processor and coupled to the remote receiver, wherein the positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from a set of reference sensor units of the reference sensor array, wherein the positioning application computes the position of the remote receiver using the reference pressure estimate and information derived from at least one of the positioning signals and satellite signals that are signals of a satellite-based positioning system, wherein the position includes an elevation.

The positioning application of an embodiment is hosted on the remote receiver and the remote receiver computes the position.

The remote receiver of an embodiment is operated in a reduced-power state when the positioning signals are at least one of not detected and unusable.

The remote receiver of an embodiment uses a set of positioning signals from a set of the plurality of transmitters to determine position, wherein the remote receiver is operated in a reduced-power state when the set of positioning signals are at least one of not detected and unusable.

The remote receiver of an embodiment transitions from the reduced-power state to a full-power state in response to detecting at least one of motion of the remote receiver, change in position of the remote receiver, and change in signal conditions of the positioning signals.

The system of an embodiment comprises a server coupled to the remote receiver, wherein the positioning application is hosted on the server and the server computes the position.

The system of an embodiment comprises a server coupled to the remote receiver, wherein the positioning application is distributed between the remote receiver and the server.

A first operating mode of the remote receiver of an embodiment comprises terminal-based positioning in which the remote receiver computes the position.

A second operating mode of the remote receiver of an embodiment comprises network-based positioning in which the server computes the position.

The known location of an embodiment is a location of a set of transmitters of the plurality of transmitters.

The positioning application of an embodiment includes a pressure surface gradient model that uses the reference data from the set of reference sensor units to generate an equivalent reference elevation pressure at the position of the remote receiver.

The positioning application of an embodiment uses the equivalent reference elevation pressure as a reference value for generating the elevation.

The positioning application of an embodiment generates an equivalent reference elevation pressure for each reference sensor unit of the set of reference sensor units using the reference data from each reference sensor unit.

The reference data of an embodiment comprises pressure, temperature and location data of each reference sensor unit of the set of reference sensor units, wherein the location data includes elevation.

The positioning application of an embodiment generates the equivalent reference elevation pressure at the position of the remote receiver using the equivalent reference elevation pressure for each reference sensor unit of the set of reference sensor units and latitude and longitude of the remote receiver.

The positioning application of an embodiment generates the elevation of the remote receiver using the atmospheric data and the equivalent reference elevation pressure at the position of the remote receiver.

The at least one reference sensor unit of an embodiment is collocated with at least one transmitter of the plurality of transmitters.

The at least one reference sensor unit of an embodiment comprises a plurality of reference sensor units, wherein a first set of the plurality of reference sensor units are collocated with a first set of the plurality of transmitters, and a second set of the plurality of reference sensor units are in locations different from locations of the plurality of transmitters.

The at least one reference sensor unit of an embodiment is in a location different from locations of the plurality of transmitters.

The atmospheric sensor of an embodiment collects pressure and temperature data at the position of the remote receiver.

The atmospheric sensor of an embodiment determines the pressure data with a resolution approximately in a range of less than 36 Pascal.

The remote receiver of an embodiment detects rate of change of the pressure data.

The positioning application of an embodiment determines a vertical velocity of the remote receiver using the rate of change.

The temperature data of an embodiment includes an outside air temperature at the position of the remote receiver, and the atmospheric sensor determines the temperature data with a resolution at least one of equal to and less than approximately 3 degrees Celsius.

Each reference sensor unit of an embodiment comprises at least one atmospheric reference sensor that collects reference pressure and reference temperature data at a known location of the atmospheric reference unit.

The at least one atmospheric reference sensor of an embodiment determines the reference pressure data with a resolution approximately in a range of 2-36 Pascal.

The reference temperature data of an embodiment includes an outside air temperature at the known location, and the atmospheric reference sensor determines the temperature data with a resolution at least one of equal to and less than approximately 3 degrees Celsius.

The atmospheric reference sensor of an embodiment is calibrated for a limited temperature range, wherein the limited temperature range is determined based on temperatures to which the atmospheric reference sensor is exposed.

Each atmospheric reference sensor of an embodiment continuously collects the reference pressure and the reference temperature data at the known location.

The atmospheric reference sensor of an embodiment is positioned to collect the reference pressure and the reference temperature in relatively still air.

The atmospheric reference sensor of an embodiment filters the reference pressure and reference temperature data.

The atmospheric reference sensor of an embodiment filters the reference pressure and reference temperature data using an adaptive time scale.

Each reference sensor unit of an embodiment comprises a wind detector that determines wind data, wherein the wind data includes a direction and magnitude of the local wind.

The positioning application of an embodiment uses the wind data to at least one of correct and filter variations in the atmospheric sensor.

The at least one reference sensor unit of an embodiment comprises a plurality of atmospheric reference sensors.

The system of an embodiment comprises a communication link coupled between the reference sensor array and the remote receiver.

The reference sensor array of an embodiment broadcasts the atmospheric reference data.

The reference sensor array of an embodiment broadcasts raw data of the atmospheric reference data.

The reference sensor array of an embodiment broadcasts differential data of the reference data.

The differential data of an embodiment is derived relative to at least one constant value.

The differential data of an embodiment comprises differential pressure data derived as an offset value of a standard atmosphere.

The remote receiver of an embodiment receives the reference data via the broadcasts.

The reference sensor array of an embodiment broadcasts the reference data in a plurality of times per second.

The reference sensor array of an embodiment broadcasts the reference data in a plurality of times per measurement.

The remote receiver of an embodiment determines a set of atmospheric reference sensors to query, and pulls the reference data from the set of atmospheric reference sensors via the communication link.

The positioning application of an embodiment processes the reference data and determines an equivalent reference elevation pressure of each reference sensor unit of the set of reference sensor units.

The reference data of an embodiment comprises location of each atmospheric reference unit.

The location of an embodiment comprises latitude and longitude.

The location of an embodiment comprises a height.

The reference data of an embodiment comprises a measured outside air temperature from each atmospheric reference unit.

The reference data of an embodiment comprises a confidence measure.

Each reference sensor unit of an embodiment processes the reference data of that reference sensor unit and determines an equivalent reference elevation pressure of the reference sensor unit.

The reference data of an embodiment comprises location of each atmospheric reference sensor.

The location of an embodiment comprises latitude and longitude.

The location of an embodiment comprises a height.

The reference data of an embodiment comprises the equivalent reference elevation pressure.

The reference data of an embodiment comprises a confidence measure.

The elevation of an embodiment includes an estimated elevation of each floor in at least one structure.

The system of an embodiment comprises a database coupled to a plurality of remote receivers that includes the remote receiver, wherein the database includes the estimated elevations received from the plurality of remote receivers.

The system of an embodiment comprises a learning application coupled to the server, where the learning application processes the estimated elevations of the plurality of remote receivers and revises the database using the estimated elevations.

The at least one reference sensor unit of an embodiment comprises at least one local reference sensor unit that is local to at least one of a location and a structure.

The reference data of an embodiment includes data of the at least one local reference sensor unit.

The system of an embodiment comprises automatically calibrating the atmospheric sensor of the remote receiver using aggregated reference data over a specified time period.

The system of an embodiment comprises generating the aggregated reference data by identifying when the remote receiver is at a known location, accumulating deviations in the atmospheric data corresponding to the known location, and generating a corrected calibration from the accumulated deviations.

The system of an embodiment comprises automatically calibrating the atmospheric sensor of the remote receiver when an elevation and atmospheric pressure of the position of the remote receiver is known.

The position of the remote receiver of an embodiment is determined using the satellite signals.

The system of an embodiment comprises determining the elevation using a reference elevation.

The reference elevation of an embodiment minimizes elevation differences among elevations computed using at least one of the atmospheric data and the reference data.

The reference elevation of an embodiment comprises a mean elevation of the atmospheric reference units.

The reference elevation of an embodiment comprises a mean elevation of an area in which the remote receiver is located.

The elevation of an embodiment includes an estimated elevation derived using local constraint data.

The local constraint data of an embodiment includes terrain data of terrain in a vicinity of the position of the remote receiver.

The local constraint data of an embodiment includes height of at least one structure in a vicinity of the position of the remote receiver.

The local constraint data of an embodiment includes the elevation of at least one other remote receiver in a vicinity of the position of the remote receiver.

The positioning application of an embodiment determines the elevation using the atmospheric data, the reference data, and the local constraint data.

The system of an embodiment comprises a database coupled to the positioning application, wherein the database includes historical data measured during a time period, wherein the historical data comprises the reference data of the reference sensor array and the atmospheric data of a plurality of remote receivers.

The positioning application of an embodiment determines the elevation using the historical data.

The system of an embodiment comprises optimizing the at least one reference sensor unit of the reference sensor array using the historical data.

The system of an embodiment comprises determining the elevation by relaxing the assumption of constant equivalent reference elevation pressure between a reference location of a reference sensor unit and a current position of the remote receiver.

The system of an embodiment comprises converting a first equivalent reference elevation pressure at the reference location to a second equivalent reference elevation pressure at a standard temperature. The system of an embodiment comprises determining a local temperature at the current position and converting the second equivalent reference elevation pressure to a third equivalent reference elevation pressure using the local temperature. The system of an embodiment comprises determining the elevation at the current position using the third equivalent reference elevation pressure.

The system of an embodiment comprises determining a variation of equivalent reference elevation pressure with horizontal location using the reference data at each reference sensor unit of the set of reference sensor units. The system of an embodiment comprises determining a best estimate of reference elevation pressure at the current position by combining the equivalent reference elevation pressures of the set of reference sensor units.

The best estimate of equivalent reference elevation pressure of an embodiment comprises using a weighted average technique, wherein a weighting is a function of a horizontal distance between a location of a reference sensor unit and the current position.

Determining the best estimate of equivalent reference elevation pressure of an embodiment comprises using a least squares fit to create a second order surface that best fits computed sea level pressures at each reference sensor unit of the set of reference sensor unit, and interpolating the best estimate of equivalent reference elevation pressure at the current position using the n-order surface.

The system of an embodiment comprises converting a first equivalent reference elevation pressure at each reference sensor unit of the set of reference sensor unit to a second equivalent reference elevation pressure at a standard temperature. The system of an embodiment comprises determining a best estimate of an equivalent reference elevation pressure at the current position by combining the second equivalent reference elevation pressure from each reference unit.

Determining the best estimate of an equivalent reference elevation pressure of an embodiment comprises using a weighted average technique, wherein a weighting is a function of a horizontal distance between a location of a reference sensor unit and the current position.

Determining the best estimate of an equivalent reference elevation pressure of an embodiment comprises using a least squares fit to create a second order surface that best fits computed equivalent reference elevation pressures at each reference sensor unit of the set of reference sensor units, and interpolating the best estimate of sea level pressure at the current position using the n-order surface.

The remote receiver of an embodiment comprises a high-speed clock.

The remote receiver of an embodiment receives a pulse edge from a common time reference, wherein the remote receiver uses the high-speed clock to determine a time difference between an occurrence of the pulse edge and a rising edge of a sample clock.

The remote receiver of an embodiment applies a correction to the estimated range based on the time difference, wherein the correction improves accuracy of the estimated range.

The remote receiver of an embodiment includes a correlator that correlates a received signal with a pseudorandom code, wherein the correlator comprises a first shift register that includes a series plurality of sets of second shift registers having parallel random access read capabilities.

Each set of the plurality of sets of second shift registers of an embodiment comprises a series plurality of shift register group primitives.

Each shift register group primitive of an embodiment includes an n-bit shift register group primitive.

Each shift register group primitive of an embodiment includes a 16-bit shift register group primitive.

Each set of second shift registers of an embodiment forms a 32-bit shift register.

The series plurality of sets of second shift registers of an embodiment comprises a plurality of sets of n-bit shift registers.

The series plurality of sets of second shift registers of an embodiment comprises 32 sets of second shift registers, wherein the first shift register is a 1024-bit shift register.

Shift operations of the first shift register of an embodiment occur at a clock rate of a clock coupled to the correlator.

Readout operations of the first shift register of an embodiment occur at a speed that is at least two times the clock rate.

Readout operations of the first shift register of an embodiment occur at 32-times the clock rate.

The system of an embodiment comprises a series plurality of adders coupled to outputs of the series plurality of sets of second shift registers.

The series plurality of adders of an embodiment comprise an adder tree, wherein the adder tree comprises a wider bit-width adder primitive.

The series plurality of adders of an embodiment comprises an adder coupled to each set of the plurality of sets of n-bit shift registers.

The series plurality of adders of an embodiment comprises a first adder coupled to outputs of a first plurality of sets of second shift registers, a second adder coupled to outputs of a second plurality of sets of second shift registers, a third adder coupled to outputs of a third plurality of sets of second shift registers, and a fourth adder coupled to outputs of a fourth plurality of sets of second shift registers.

The system of an embodiment comprises a terminal adder coupled to outputs of the series plurality of adders.

The system of an embodiment comprises aligning outputs of the series plurality of adders in a series plurality of groups in the terminal adder.

An output of a first adder of an embodiment is aligned in a first group, an output of a second adder is aligned in a second group, an output of a third adder is aligned in a third group, and an output of a fourth adder is aligned in a fourth group in the terminal adder.

The terminal adder of an embodiment forms a sum by adding contents of the series plurality of groups.

The remote receiver of an embodiment temporarily uses a native receive chain of a plurality of native receive chains of the remote receiver to acquire the at least one of the positioning signals and satellite signals.

The plurality of native receive chains of an embodiment includes a diversity receive chain that improves receive diversity.

The remote receiver of an embodiment comprises a wide bandwidth receiver.

The remote receiver of an embodiment comprises a wide bandwidth cellular band receiver.

The remote receiver of an embodiment at least one of temporarily and permanently uses the diversity receive chain to acquire the positioning signals.

104. The positioning system of claim 2, comprising a communication system coupled to at least one of the remote receiver and the plurality of transmitters, wherein the communication system is a cellular communication system.

The plurality of transmitters of an embodiment is synchronized, wherein each transmitter of the plurality of transmitters transmits a signal including a pseudorandom number sequence and assistance data.

The assistance data of an embodiment comprises at least one of system time at a rising edge of a pulse of a waveform, system time at a falling edge of a pulse of a waveform, geocode data of the plurality of transmitters, geocode data of adjacent transmitters adjacent to the plurality of transmitters, index of a sequence used by at least one transmitter in proximity of the plurality of transmitters, clock timing corrections for at least one transmitter, local atmospheric corrections, relationship of WAPS timing to GNSS time, indication of local environment to aid the remote receiver in pseudorange resolution, and at least one of an offset from base index of a set of pseudorandom sequences, a list of pseudorandom number sequences from a set of transmitters, and a list of transmitters that utilize a particular pseudorandom number sequence.

The positioning application of an embodiment computes the position of the remote receiver by formulating a set of equations as a non-linear objective function and generating a best estimate of the position as a set of position parameters that minimize the objective function.

The positioning application of an embodiment computes the position of the remote receiver by formulating a set of linearized equations and solving the set of linearized equations using least squares.

The positioning application of an embodiment computes the position of the remote receiver using an approximate location of a set of transmitters of the plurality of transmitters and received signal strength (RSS) data of the set of transmitters.

The positioning application of an embodiment computes the position of the remote receiver by storing sample segments of the positioning signal in the remote receiver, and subsequently processing the sample segments to search, acquire, and compute range to the plurality of transmitters.

The positioning application of an embodiment computes the position of the remote receiver using received signal strength data of the remote receiver.

The positioning application of an embodiment computes the position of the remote receiver using at least one of carrier phase data and code phase data of the positioning signals.

The positioning application of an embodiment computes the position of the remote receiver using differential positioning relative to at least one reference receiver.

The positioning application of an embodiment computes the position of the remote receiver using at least one of a range measurement and a proxy for a range measurement from a signal of opportunity, wherein the signal of opportunity is received from a positioning system, a Global Navigation Satellite System (GNSS), a Global Positioning System (GPS), a differential positioning system, a radio signal, a television signal, a wireless network system, a WiFi system, a cellular system, and a Bluetooth system.

The positioning application of an embodiment computes a final position of the remote receiver using a range measurement from at least one additional signal source combined with a range measurement determined using the positioning signals, wherein the final position comprises at least one of latitude, longitude and height.

The positioning application of an embodiment computes an optimized location solution of the remote receiver using a position measurement from at least one additional signal source combined with a position measurement determined using the positioning signals and a position quality metric from the at least one additional signal source.

The positioning application of an embodiment computes the position of the remote receiver using hybrid positioning, the hybrid positioning comprising a measurement from the positioning signals and a measurement from at least one additional source.

The positioning system information of an embodiment comprises timing synchronization and corresponding correction information.

Embodiments described herein include a reference system comprising a reference sensor array including at least one set of reference sensor units. Each set includes at least one reference sensor unit positioned at a known location. The system includes a remote receiver comprising an atmospheric sensor that collects atmospheric data at a position of the remote receiver. The system includes a positioning application running on a processor and coupled to the remote receiver, wherein the positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from the at least one set of reference sensor units of the reference sensor array. The positioning application computes an elevation of the remote receiver using the reference pressure estimate.

Embodiments described herein include a reference system comprising: a reference sensor array comprising at least one set of reference sensor units, wherein each set includes at least one reference sensor unit positioned at a known location; a remote receiver comprising an atmospheric sensor that collects atmospheric data at a position of the remote receiver; and a positioning application running on a processor and coupled to the remote receiver, wherein the positioning application generates a reference pressure estimate at the position of the remote receiver using the atmospheric data and reference data from the at least one set of reference sensor units of the reference sensor array, wherein the positioning application computes an elevation of the remote receiver using the reference pressure estimate.

Embodiments described herein include a positioning system comprising a terrestrial transmitter network including a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a remote receiver that acquires at least one of the positioning signals and satellite signals. The satellite signals are signals of a satellite-based positioning system. A first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals. The remote receiver includes a correlator that correlates a received signal with a pseudorandom code; and a server coupled to the remote receiver. A second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals. The remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

Embodiments described herein include a positioning system comprising: a terrestrial transmitter network comprising a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information, wherein a ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal; a remote receiver that acquires at least one of the positioning signals and satellite signals, wherein the satellite signals are signals of a satellite-based positioning system, wherein a first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals, wherein the remote receiver includes a correlator that correlates a received signal with a pseudorandom code; and a server coupled to the remote receiver, wherein a second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals, wherein the remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

The correlator of an embodiment comprises a first shift register that includes a series plurality of sets of second shift registers having parallel random access read capabilities. Each set of the plurality of sets of second shift registers of an embodiment comprises a series plurality of shift register group primitives. Each shift register group primitive of an embodiment includes an n-bit shift register group primitive. Each shift register group primitive of an embodiment includes a 16-bit shift register group primitive. Each set of second shift registers of an embodiment forms a 32-bit shift register. The series plurality of sets of second shift registers of an embodiment comprises a plurality of sets of n-bit shift registers. The series plurality of sets of second shift registers of an embodiment comprises 32 sets of second shift registers, wherein the first shift register is a 1024-bit shift register. Shift operations of the first shift register of an embodiment occur at a clock rate of a clock coupled to the correlator. Readout operations of the first shift register of an embodiment occur at a speed that is at least two times the clock rate. Readout operations of the first shift register of an embodiment occur at 32-times the clock rate.

The system of an embodiment comprises a series plurality of adders coupled to outputs of the series plurality of sets of second shift registers. The series plurality of adders of an embodiment comprise an adder tree, wherein the adder tree comprises a wider bit-width adder primitive. The series plurality of adders of an embodiment comprises an adder coupled to each set of the plurality of sets of n-bit shift registers. The series plurality of adders of an embodiment comprises a first adder coupled to outputs of a first plurality of sets of second shift registers, a second adder coupled to outputs of a second plurality of sets of second shift registers, a third adder coupled to outputs of a third plurality of sets of second shift registers, and a fourth adder coupled to outputs of a fourth plurality of sets of second shift registers. The system of an embodiment comprises a terminal adder coupled to outputs of the series plurality of adders. The system of an embodiment comprises aligning outputs of the series plurality of adders in a series plurality of groups in the terminal adder. An output of a first adder of an embodiment is aligned in a first group, an output of a second adder is aligned in a second group, an output of a third adder is aligned in a third group, and an output of a fourth adder is aligned in a fourth group in the terminal adder. The terminal adder of an embodiment forms a sum by adding contents of the series plurality of groups.

Embodiments described herein include a positioning system comprising a terrestrial transmitter network including a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a remote receiver that acquires at least one of the positioning signals and satellite signals. The satellite signals are signals of a satellite-based positioning system. A first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals. The remote receiver operates in a reduced-power state when the positioning signals are not detected. The system includes a server coupled to the remote receiver. A second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals. The remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

Embodiments described herein include a positioning system comprising: a terrestrial transmitter network comprising a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information, wherein a ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal; a remote receiver that acquires at least one of the positioning signals and satellite signals, wherein the satellite signals are signals of a satellite-based positioning system, wherein a first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals, wherein the remote receiver operates in a reduced-power state when the positioning signals are not detected; and a server coupled to the remote receiver, wherein a second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals, wherein the remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

The positioning application of an embodiment is hosted on the remote receiver and the remote receiver computes the position.

The remote receiver of an embodiment is operated in a reduced-power state when the positioning signals are at least one of not detected and unusable.

The remote receiver of an embodiment uses a set of positioning signals from a set of the plurality of transmitters to determine position, wherein the remote receiver is operated in a reduced-power state when the set of positioning signals are at least one of not detected and unusable.

The remote receiver of an embodiment transitions from the reduced-power state to a full-power state in response to detecting at least one of motion of the remote receiver, change in position of the remote receiver, and change in signal conditions of the positioning signals.

Embodiments described herein include a positioning system comprising a terrestrial transmitter network including a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a remote receiver that acquires at least one of the positioning signals and satellite signals. The satellite signals are signals of a satellite-based positioning system. A first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals. The remote receiver comprises a high-speed clock. The system includes a server coupled to the remote receiver. A second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals. The remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

Embodiments described herein include a positioning system comprising: a terrestrial transmitter network comprising a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information, wherein a ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal; a remote receiver that acquires at least one of the positioning signals and satellite signals, wherein the satellite signals are signals of a satellite-based positioning system, wherein a first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals, wherein the remote receiver comprises a high-speed clock; and a server coupled to the remote receiver, wherein a second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals, wherein the remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

The remote receiver of an embodiment receives a pulse edge from a common time reference, wherein the remote receiver uses the high-speed clock to determine a time difference between an occurrence of the pulse edge and a rising edge of a sample clock.

The remote receiver of an embodiment applies a correction to the estimated range based on the time difference, wherein the correction improves accuracy of the estimated range.

Embodiments described herein include a positioning system comprising a terrestrial transmitter network including a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information. A ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal. The system includes a remote receiver that acquires at least one of the positioning signals and satellite signals. The remote receiver temporarily uses a native receive chain of a plurality of native receive chains of the remote receiver to acquire the at least one of the positioning signals and satellite signals. The satellite signals are signals of a satellite-based positioning system. A first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals. The system includes a server coupled to the remote receiver, wherein a second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals. The remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

Embodiments described herein include a positioning system comprising: a terrestrial transmitter network comprising a plurality of transmitters that broadcast positioning signals comprising at least ranging signals and positioning system information, wherein a ranging signal comprises information used to measure a distance to a transmitter broadcasting the ranging signal; a remote receiver that acquires at least one of the positioning signals and satellite signals, wherein the remote receiver temporarily uses a native receive chain of a plurality of native receive chains of the remote receiver to acquire the at least one of the positioning signals and satellite signals, wherein the satellite signals are signals of a satellite-based positioning system, wherein a first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals; and a server coupled to the remote receiver, wherein a second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from information derived from at least one of the positioning signals and the satellite signals, wherein the remote receiver receives and transfers to the server information derived from at least one of the positioning signals and the satellite signals.

The remote receiver of an embodiment temporarily uses a native receive chain of a plurality of native receive chains of the remote receiver to acquire the at least one of the positioning signals and satellite signals.

The plurality of native receive chains of an embodiment includes a diversity receive chain that improves receive diversity.

The remote receiver of an embodiment comprises a wide bandwidth receiver.

The remote receiver of an embodiment comprises a wide bandwidth cellular band receiver.

The remote receiver of an embodiment at least one of temporarily and permanently uses the diversity receive chain to acquire the positioning signals.

The system described herein for use in position/timing accuracy can be used in one or more of the following applications in both local areas and wide areas, but is not limited to the following applications: asset tracking; people tracking; pet tracking; fire safety; mobile advertising; ad hoc position determination for public safety applications (e.g., a set of “mobile” transmitters can be moved to the location (for example, location of a fire) and those transmitters would form a local network to provide location signals to a set of receivers in that vicinity); military applications (e.g., transmitters can be deployed in an ad hoc fashion on the land or over the air to get precise indoor positions); adaptable bandwidth for applications that can provide the bandwidth to meet the accuracy needs; container tracking and vehicles that move containers around in indoor environments; geo-tagging; geo-fencing; E911 applications; palette tracking for medical applications and other applications that require palette tracking; femto-cells; timing references for femto-cells, timing receivers; providing location for security applications that authenticates based on location both indoors and outdoors; homing application (e.g., pet/asset tracking using WAPS and providing pedestrian navigation to the asset/pet using mobile phone). The WAPS system by itself or integrated with other location technologies can be further integrated into existing local area and/or wide area asset tracking and/or positioning systems.

The embodiments described herein include a positioning system comprising: a transmitter network comprising a plurality of transmitters that broadcast positioning signals; a remote receiver that acquires and tracks at least one of the positioning signals and satellite signals, wherein the satellite signals are signals of a satellite-based positioning system, wherein a first operating mode of the remote receiver comprises terminal-based positioning in which the remote receiver computes a position of the remote receiver from at least one of the positioning signals and the satellite signals; and a server coupled to the remote receiver, wherein a second operating mode of the remote receiver comprises network-based positioning in which the server computes a position of the remote receiver from at least one of the positioning signals and the satellite signals, wherein the remote receiver receives and transfers to the server at least one of the positioning signals and the satellite signals.

The embodiments described herein include a method of determining position, comprising: receiving at a remote receiver at least one of positioning signals and satellite signals, wherein the positioning signals are received from a transmitter network comprising a plurality of transmitters, wherein the satellite signals are received from a satellite-based positioning system; and determining a position of the remote receiver using one of terminal-based positioning and network based positioning, wherein terminal-based positioning comprises computing a position of the remote receiver at the remote receiver using at least one of the positioning signals and the satellite signals, wherein network-based positioning comprises computing a position of the remote receiver at a remote server using at least one of the positioning signals and the satellite signals.

The components described herein can be located together or in separate locations. Communication paths couple the components and include any medium for communicating or transferring files among the components. The communication paths include wireless connections, wired connections, and hybrid wireless/wired connections. The communication paths also include couplings or connections to networks including local area networks (LANs), metropolitan area networks (MANs), wide area networks (WANs), proprietary networks, interoffice or backend networks, and the Internet. Furthermore, the communication paths include removable fixed mediums like floppy disks, hard disk drives, and CD-ROM disks, as well as flash RAM, Universal Serial Bus (USB) connections, RS-232 connections, telephone lines, buses, and electronic mail messages.

Aspects of the systems and methods described herein may be implemented as functionality programmed into any of a variety of circuitry, including programmable logic devices (PLDs), such as field programmable gate arrays (FPGAs), programmable array logic (PAL) devices, electrically programmable logic and memory devices and standard cell-based devices, as well as application specific integrated circuits (ASICs). Some other possibilities for implementing aspects of the systems and methods include: microcontrollers with memory (such as electronically erasable programmable read only memory (EEPROM)), embedded microprocessors, firmware, software, etc. Furthermore, aspects of the systems and methods may be embodied in microprocessors having software-based circuit emulation, discrete logic (sequential and combinatorial), custom devices, fuzzy (neural) logic, quantum devices, and hybrids of any of the above device types. Of course the underlying device technologies may be provided in a variety of component types, e.g., metal-oxide semiconductor field-effect transistor (MOSFET) technologies like complementary metal-oxide semiconductor (CMOS), bipolar technologies like emitter-coupled logic (ECL), polymer technologies (e.g., silicon-conjugated polymer and metal-conjugated polymer-metal structures), mixed analog and digital, etc.

It should be noted that any system, method, and/or other components disclosed herein may be described using computer aided design tools and expressed (or represented), as data and/or instructions embodied in various computer-readable media, in terms of their behavioral, register transfer, logic component, transistor, layout geometries, and/or other characteristics. Computer-readable media in which such formatted data and/or instructions may be embodied include, but are not limited to, non-volatile storage media in various forms (e.g., optical, magnetic or semiconductor storage media) and carrier waves that may be used to transfer such formatted data and/or instructions through wireless, optical, or wired signaling media or any combination thereof. Examples of transfers of such formatted data and/or instructions by carrier waves include, but are not limited to, transfers (uploads, downloads, e-mail, etc.) over the Internet and/or other computer networks via one or more data transfer protocols (e.g., HTTP, HTTPs, FTP, SMTP, WAP, etc.). When received within a computer system via one or more computer-readable media, such data and/or instruction-based expressions of the above described components may be processed by a processing entity (e.g., one or more processors) within the computer system in conjunction with execution of one or more other computer programs.

Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in a sense of “including, but not limited to.” Words using the singular or plural number also include the plural or singular number respectively. Additionally, the words “herein,” “hereunder,” “above,” “below,” and words of similar import, when used in this application, refer to this application as a whole and not to any particular portions of this application. When the word “or” is used in reference to a list of two or more items, that word covers all of the following interpretations of the word: any of the items in the list, all of the items in the list and any combination of the items in the list.

The above description of embodiments of the systems and methods is not intended to be exhaustive or to limit the systems and methods to the precise forms disclosed. While specific embodiments of, and examples for, the systems and methods are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the systems and methods, as those skilled in the relevant art will recognize. The teachings of the systems and methods provided herein can be applied to other systems and methods, not only for the systems and methods described above. The elements and acts of the various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the systems and methods in light of the above detailed description.

In general, in the following claims, the terms used should not be construed to limit the systems and methods to the specific embodiments disclosed in the specification and the claims, but should be construed to include all systems and methods that operate under the claims. Accordingly, the systems and methods are not limited by the disclosure, but instead the scope is to be determined entirely by the claims. While certain aspects of the systems and methods are presented below in certain claim forms, the inventors contemplate the various aspects of the systems and methods in any number of claim forms. Accordingly, the inventors reserve the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the systems and methods. 

The invention claimed is:
 1. A positioning system comprising at least one processor that: determines a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; and determines an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device, wherein the reference pressure estimate is generated based on a calculation using a first reference elevation pressure and a second reference elevation pressure, wherein the first reference elevation pressure is based on pressure and temperature measurements at a first location of a first reference sensor unit in addition to an elevation of the first reference sensor unit, and wherein the second reference elevation pressure is based on pressure and temperature measurements at a second location of a second reference sensor unit in addition to an elevation of the second reference sensor unit.
 2. The positioning system of claim 1, wherein the at least one processor: generates the reference pressure estimate based on a pressure surface gradient model.
 3. The positioning system of claim 1, wherein the reference pressure estimate is generated after the first reference elevation pressure and the second reference elevation pressure are transmitted by one or more transmitters.
 4. The positioning system of claim 1, wherein the at least one processor: generates the first reference elevation pressure using the pressure and the temperature measurements at the first location of the first reference sensor unit in addition to the elevation of the first reference sensor unit; and generates the second reference elevation pressure using the pressure and the temperature measurements at the second location of the second reference sensor unit in addition to the elevation of the second reference sensor unit.
 5. The positioning system of claim 1, wherein the reference pressure estimate is generated by: receiving, from a first reference sensor unit, a first reference elevation pressure associated with a first reference height, wherein the first reference elevation pressure is based on a first known height of the first reference sensor unit, a first pressure measured at a first location of the first reference sensor unit, and a first temperature measured at the first location; receiving, from a second reference sensor unit, a second reference elevation pressure associated with the first reference height or a second reference height, wherein the second reference elevation pressure is based on a second known height of the second reference sensor unit, a second pressure measured at a second location of the second reference sensor unit, and a second temperature measured at the second location; computing a first weighted reference elevation pressure based on the first reference elevation pressure and a first weight; computing a second weighted reference elevation pressure based on the second reference elevation pressure and a second weight; and generating the reference pressure estimate based on the first weighted reference elevation pressure and the second weighted reference elevation pressure.
 6. The positioning system of claim 1, wherein the at least one processor: determines a variation of reference elevation pressure using the reference data from each of at least two reference sensor units; and determines the reference pressure estimate based on the variation of reference elevation pressure.
 7. The positioning system of claim 1, wherein the at least one processor: determines that the estimated elevation of the mobile device corresponds to a first floor of a building when the estimated elevation of the mobile device is within a threshold difference in elevation from a first estimated elevation of the first floor; and determines that the estimated elevation of the mobile device corresponds to a second floor of the building when the estimated elevation of the mobile device is within the threshold difference in elevation from a second estimated elevation of the second floor.
 8. A positioning system comprising at least one processor that: determines a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determines when the position of the mobile device is approximately at a known position; after determining that the position of the mobile device is approximately at the known position, determines an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and determines a difference between the estimated elevation and a known height of the known position.
 9. The positioning system of claim 8, wherein the at least one processor: calculates, based on the difference between the estimated elevation and the known height, a correction value associated with drift or aging related to the atmospheric sensor.
 10. A positioning system comprising at least one processor that: determines a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determines an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and determines based on satellite signals, an estimated amount of drift associated with the atmospheric sensor.
 11. A positioning system comprising at least one processor that: determines a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determines an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; identifies a first set of estimated elevations that are within a threshold difference in elevation from each other, wherein the first set of estimated elevations are associated with a first set of positions of one or more mobile devices; and determines, based on the first set of estimated elevations, a first estimated elevation of a first floor in a structure.
 12. The positioning system of claim 11, wherein the at least one processor: identifies a second set of estimated elevations that are within the threshold difference in elevation from each other; and determines, based on the second set of estimated elevations, a second estimated elevation of a second floor in the structure.
 13. A positioning system comprising at least one processor that: determines a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determines an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and calibrates the atmospheric sensor of the mobile device, wherein the atmospheric sensor is calibrated using aggregated reference data over a time period, or wherein the atmospheric sensor is calibrated when a n elevation and atmospheric pressure at the position of the mobile device is known.
 14. The positioning system of claim 13, wherein the atmospheric sensor is calibrated using the aggregated reference data over the time period, wherein the at least one processor: generates the aggregated reference data by identifying when the mobile device is at a known location; and identifies deviations in the atmospheric data corresponding to the known location, wherein the atmospheric sensor is calibrated based on the deviations.
 15. The positioning system of claim 13, wherein the atmospheric sensor is calibrated when the elevation and atmospheric pressure at the position of the mobile device is known.
 16. A positioning system, wherein the system comprises: a database that includes historical reference data of one or more reference sensor units and historical atmospheric data collected by a plurality of mobile devices; and at least one processor that: determines a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; and determines an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device.
 17. A computer-implemented method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; and determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device, wherein the reference pressure estimate is determined based on a calculation using a first reference elevation pressure and a second reference elevation pressure, wherein the first reference elevation pressure is based on pressure and temperature measurements at a first location of a first reference sensor unit in addition to an elevation of the first reference sensor unit, and wherein the second reference elevation pressure is based on pressure and temperature measurements at a second location of a second reference sensor unit in addition to an elevation of the second reference sensor unit.
 18. The computer-implemented method of claim 17, the method comprising: generating the reference pressure estimate based on a pressure surface gradient model.
 19. The computer-implemented method of claim 17, wherein the reference pressure estimate is generated after the first reference elevation pressure and the second reference elevation pressure are transmitted by one or more transmitters.
 20. The computer-implemented method of claim 17, the method comprising: generating the first reference elevation pressure using the pressure and the temperature measurements at the first location of the first reference sensor unit in addition to the elevation of the first reference sensor unit; and generating the second reference elevation pressure using the pressure and the temperature measurements at the second location of the second reference sensor unit in addition to the elevation of the second reference sensor unit.
 21. The computer-implemented method of claim 17, wherein the reference pressure estimate is generated by: receiving, from a first reference sensor unit, a first reference elevation pressure associated with a first reference height, wherein the first reference elevation pressure is based on a first known height of the first reference sensor unit, a first pressure measured at a first location of the first reference sensor unit, and a first temperature measured at the first location; receiving, from a second reference sensor unit, a second reference elevation pressure associated with the first reference height or a second reference height, wherein the second reference elevation pressure is based on a second known height of the second reference sensor unit, a second pressure measured at a second location of the second reference sensor unit, and a second temperature measured at the second location; computing a first weighted reference elevation pressure based on the first reference elevation pressure and a first weight; computing a second weighted reference elevation pressure based on the second reference elevation pressure and a second weight; and generating the reference pressure estimate based on the first weighted reference elevation pressure and the second weighted reference elevation pressure.
 22. The computer-implemented method of claim 17, the method comprising: determining a variation of reference elevation pressure using the reference data from each of at least two reference sensor units; and determining the reference pressure estimate based on the variation of reference elevation pressure.
 23. The computer-implemented method of claim 17, the method comprising: determining that the estimated elevation of the mobile device corresponds to a first floor of a building when the estimated elevation of the mobile device is within a threshold difference in elevation from a first estimated elevation of the first floor; and determining that the estimated elevation of the mobile device corresponds to a second floor of the building when the estimated elevation of the mobile device is within the threshold difference in elevation from a second estimated elevation of the second floor.
 24. A computer-implemented method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining when the position of the mobile device is approximately at a known position; after determining that the position of the mobile device is approximately at the known position, determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and determining a difference between the estimated elevation and a known height of the known position.
 25. The computer-implemented method of claim 24, the method comprising: calculating, based on the difference between the estimated elevation and the known height, a correction value associated with drift or aging related to the atmospheric sensor.
 26. A computer-implemented method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and determining, based on satellite signals, an estimated amount of drift associated with the atmospheric sensor.
 27. A computer-implemented method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; identifying a first set of estimated elevations that are within a threshold difference in elevation from each other, wherein the first set of estimated elevations are associated with a first set of positions of one or more mobile devices; and determining, based on the first set of estimated elevations, a first estimated elevation of a first floor in a structure.
 28. The computer-implemented method of claim 27, the method comprising: identifying a second set of estimated elevations that are within the threshold difference in elevation from each other; and determining, based on the second set of estimated elevations, a second estimated elevation of second floor in the structure.
 29. A computer-implemented method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and calibrating the atmospheric sensor of the mobile device, wherein the atmospheric sensor is calibrated using aggregated reference data over a specified time period, or wherein the atmospheric sensor is calibrated when an elevation and atmospheric pressure at the position of the mobile device is known.
 30. The computer-implemented method of claim 29, wherein the atmospheric sensor is calibrated using the aggregated reference data over the specified time period, the method comprising: generating the aggregated reference data by identifying when the mobile device is at a known location; and identifying deviations in the atmospheric data corresponding to the known location, wherein the atmospheric sensor is calibrated based on the deviations.
 31. The computer-implemented method of claim 29, wherein the atmospheric sensor is calibrated when the elevation and atmospheric pressure at the position of the mobile device is known.
 32. One or more non-transitory computer-readable media embodying program instructions adapted to be executed to implement a method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; and determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device, wherein the reference pressure estimate is determined based on a calculation using a first reference elevation pressure and a second reference elevation pressure, wherein the first reference elevation pressure is based on pressure and temperature measurements at a first location of a first reference sensor unit in addition to an elevation of the first reference sensor unit, and wherein the second reference elevation pressure is based on pressure and temperature measurements at a second location of a second reference sensor unit in addition to an elevation of the second reference sensor unit.
 33. The non-transitory computer-readable media of claim 32, the method comprising: generating the reference pressure estimate based on a pressure surface gradient model.
 34. The non-transitory computer-readable media of claim 32, wherein the reference pressure estimate is generated after the first reference elevation pressure and the second reference elevation pressure are transmitted by one or more transmitters.
 35. The non-transitory computer-readable media of claim 32, the method comprising: generating the first reference elevation pressure using the pressure and the temperature measurements at the first location of the first reference sensor unit in addition to the elevation of the first reference sensor unit; and generating the second reference elevation pressure using the pressure and the temperature measurements at the second location of the second reference sensor unit in addition to the elevation of the second reference sensor unit.
 36. The non-transitory computer-readable media of claim 32, wherein the reference pressure estimate is generated by: receiving, from a first reference sensor unit, a first reference elevation pressure associated with a first reference height, wherein the first reference elevation pressure is based on a first known height of the first reference sensor unit, a first pressure measured at a first location of the first reference sensor unit, and a first temperature measured at the first location; receiving, from a second reference sensor unit, a second reference elevation pressure associated with the first reference height or a second reference height, wherein the second reference elevation pressure is based on a second known height of the second reference sensor unit, a second pressure measured at a second location of the second reference sensor unit, and a second temperature measured at the second location; computing a first weighted reference elevation pressure based on the first reference elevation pressure and a first weight; computing a second weighted reference elevation pressure based on the second reference elevation pressure and a second weight; and generating the reference pressure estimate based on the first weighted reference elevation pressure and the second weighted reference elevation pressure.
 37. The non-transitory computer-readable media of claim 32, the method comprising: determining a variation of reference elevation pressure using the reference data from each of at least two reference sensor units; and determining the reference pressure estimate based on the variation of reference elevation pressure.
 38. The non-transitory computer-readable media of claim 32, the method comprising: determining that the estimated elevation of the mobile device corresponds to a first floor of a building when the estimated elevation of the mobile device is within a threshold difference in elevation from a first estimated elevation of the first floor; and determining that the estimated elevation of the mobile device corresponds to a second floor of the building when the estimated elevation of the mobile device is within the threshold difference in elevation from a second estimated elevation of the second floor.
 39. One or more non-transitory computer-readable media embodying program instructions adapted to be executed to implement a method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining when the position of the mobile device is approximately at a known position; after determining that the position of the mobile device is approximately at the known position, determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and determining a difference between the estimated elevation and a known height of known the position.
 40. The non-transitory computer-readable media of claim 39, the method comprising: calculating, based on the difference between the estimated elevation and the known height, a correction value associated with drift or aging related to the atmospheric sensor.
 41. One or more non-transitory computer-readable media embodying program instructions adapted to be executed to implement a method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and determining, based on satellite signals, an estimated amount of drift associated with the atmospheric sensor.
 42. One or more non-transitory computer-readable media embodying program instructions adapted to be executed to implement a method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; identifying a first set of estimated elevations that are within a threshold difference in elevation from each other, wherein the first set of estimated elevations are associated with a first set of positions of one or more mobile devices; and determining, based on the first set of estimated elevations, an estimated elevation of a first floor in a structure.
 43. The non-transitory computer-readable media of claim 42, the method comprising: identifying a second set of estimated elevations that are within the threshold difference in elevation from each other; and determining, based on the second set of estimated elevations, another estimated elevation of second floor in the structure.
 44. One or more non-transitory computer-readable media embodying program instructions adapted to be executed to implement a method for estimating an elevation of a mobile device, the method comprising: determining a reference pressure estimate associated with a position of a mobile device, wherein the reference pressure estimate is based on reference data from one or more reference sensor units that are positioned at respective known locations; determining an estimated elevation of the mobile device using the reference pressure estimate and atmospheric data collected by an atmospheric sensor of the mobile device; and calibrating the atmospheric sensor of the mobile device, wherein the atmospheric sensor is calibrated using aggregated reference data over a specified time period, or wherein the atmospheric sensor is calibrated when an elevation and atmospheric pressure at the position of the mobile device is known.
 45. The non-transitory computer-readable media of claim 44, wherein the atmospheric sensor is calibrated using the aggregated reference data over the specified time period, the method comprising: generating the aggregated reference data by identifying when the mobile device is at a known location; and identifying deviations in the atmospheric data corresponding to the known location, wherein the atmospheric sensor is calibrated based on the deviations.
 46. The non-transitory computer-readable media of claim 44, wherein the atmospheric sensor is calibrated when the elevation and atmospheric pressure at the position of the mobile device is known. 